GaParmar/clean-fid

PyTorch - FID calculation with proper image resizing and quantization steps [CVPR 2022]

54
/ 100
Established

Standardizes FID computation by addressing critical implementation inconsistencies in image resizing (aliasing artifacts across libraries) and JPEG compression effects that can inflate scores by 6+ points. Provides pre-computed statistics for standard benchmarks (CIFAR-10, FFHQ, LSUN) and supports alternative metrics like KID and CLIP-FID features via unified Python APIs. Enables direct evaluation against generative models or image folder pairs with configurable resizing filters and quantization to ensure reproducible, comparable results across research groups.

1,140 stars. No commits in the last 6 months. Available on PyPI.

Stale 6m
Maintenance 2 / 25
Adoption 10 / 25
Maturity 25 / 25
Community 17 / 25

How are scores calculated?

Stars

1,140

Forks

80

Language

Python

License

MIT

Last pushed

Aug 02, 2025

Commits (30d)

0

Dependencies

7

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/diffusion/GaParmar/clean-fid"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.