This is a port of the official implementation of Fréchet Inception Distance to PyTorch. FID is a measure of similarity between two datasets of images. It was shown to correlate well with human judgement of visual quality and is most often used to evaluate the quality of samples of Generative Adversarial Networks. FID is calculated by computing the Fréchet distance between two Gaussians fitted to feature representations of the Inception network. The weights and the model are exactly the same as in the official Tensorflow implementation, and were tested to give very similar results (e.g. .08 absolute error and 0.0009 relative error on LSUN, using ProGAN generated images). However, due to differences in the image interpolation implementation and library backends, FID results still differ slightly from the original implementation. In difference to the official implementation, you can choose to use a different feature layer of the Inception network instead of the default pool3 layer.

Features

  • Requires python3
  • The weights and the model are exactly the same as in the official Tensorflow implementation
  • Use different layers for feature maps
  • Licensed under the Apache License 2.0
  • Requires numpy
  • Requires scipy

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow FID score for PyTorch

FID score for PyTorch Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of FID score for PyTorch!

Additional Project Details

Programming Language

Python

Related Categories

Python Machine Learning Software, Python Generative Adversarial Networks (GAN), Python Generative AI

Registered

2022-08-11