simplegan.metrics

The metrics sub-module provides users with useful metrics that can be used to evaluate the images generated by GANs.

Inception Score

class simplegan.metrics.inception_score[source]
Parameters:images – a numpy array/tensor of images. Shape: NxHxWxC
Returns:inception score

Frechet Inception Distance

class simplegan.metrics.fid[source]
Parameters:
  • images1 – a numpy array/tensor of images. Shape: NxHxWxC
  • images2 – a numpy array/tensor of images. Shape: NxHxWxC
Returns:

Frechet inception distance between images