GaParmar/clean-fid
PyTorch - FID calculation with proper image resizing and quantization steps [CVPR 2022] observed · 2026-08-28
Health v2 · maintenance only
48/100
- Activity 34
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 1959
- days_rel: n/a
- days_push: 397
- n_releases_24m: 0
Adoption not part of the score
1166 stars · 81 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Clean-FID is a PyTorch library for computing the Frechet Inception Distance (FID) with correct image resizing and quantization steps, fixing inconsistencies across common implementations. It also supports KID and CLIP-feature-based FID, and was published at CVPR 2022.
Use cases
- calculate fid score between two image folders
- evaluate gan image generation quality
- compare fid scores across papers reproducibly
- compute kid metric for generated images
- compute fid using clip features
- fix incorrect image resizing in fid calculation
When to choose
- you need reproducible, comparable FID scores for generative model evaluation
- you want correct anti-aliased resizing and quantization in the metric pipeline
- you need FID, KID, or CLIP-FID in a PyTorch workflow
When to avoid
- you need metrics other than FID/KID/CLIP-FID, such as Inception Score or precision-recall
- you are not working with image generation evaluation
- you need a framework-agnostic solution outside PyTorch
Facets
library · maturity stable
image-processing machine-learning benchmarking computer-vision deep-learning machine-learning image-processing python cross-platform fid-score gan-evaluation pytorch frechet-inception-distance kid clip-features generative-models cvpr-2022 gpu
3 sources
- readme: https://github.com/GaParmar/clean-fid · fetched 2026-08-28 · 3e0b5179801f
- homepage: https://www.cs.cmu.edu/~clean-fid/ · fetched 2026-08-29 · ad73efa37c79
- registry_pypi: https://pypi.org/pypi/clean-fid/json · fetched 2026-08-29 · 967b6240fff8
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| GaParmar/clean-fid | main | 48 |
For agents
markdown · JSON · MCP: product_card(name="GaParmar/clean-fid")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem