A PyTorch implementation of the Frechet Inception Distance (FID) for evaluating generative models. Version 0.3.0 is the latest stable release. The package is mature with infrequent releases.
pip install pytorch-fidVerified import paths — ran on the pinned version, not inferred.
Example of calculating FID between two directories of images.
Use the current API (0.3.0) or monitor the repo for updates.
Always use the bundled weights (loaded automatically) from the pytorch_fid/inception.py file.
Always use dims=2048 for standard FID.
Sanitize directories to contain only supported image formats.