GaParmar/clean-fid
PyTorch - FID calculation with proper image resizing and quantization steps [CVPR 2022]
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.
Stars
1,140
Forks
80
Language
Python
License
MIT
Category
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.
Related models
NVIDIA/pix2pixHD
Synthesizing and manipulating 2048x1024 images with conditional GANs
albertpumarola/GANimation
GANimation: Anatomically-aware Facial Animation from a Single Image (ECCV'18 Oral) [PyTorch]
yuanming-hu/exposure
Learning infinite-resolution image processing with GAN and RL from unpaired image datasets,...
yiranran/APDrawingGAN
Code for APDrawingGAN: Generating Artistic Portrait Drawings from Face Photos with Hierarchical...
wuhuikai/GP-GAN
Official Chainer implementation of GP-GAN: Towards Realistic High-Resolution Image Blending...