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
The Most Powerful Software Platform for EHSQ and ESG Management Icon
The Most Powerful Software Platform for EHSQ and ESG Management

Addresses the needs of small businesses and large global organizations with thousands of users in multiple locations.

Choose from a complete set of software solutions across EHSQ that address all aspects of top performing Environmental, Health and Safety, and Quality management programs.
Learn More
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