mseitzer/pytorch-fid
Compute FID scores with PyTorch. observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3126
- days_rel: n/a
- days_push: 791
- n_releases_24m: 0
Adoption not part of the score
3851 stars · 528 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A PyTorch port of the official TensorFlow implementation of the Fréchet Inception Distance (FID), a metric for measuring similarity between two image datasets. It is primarily used to evaluate the visual quality of samples from generative models like GANs.
Use cases
- compute FID score between two image folders
- evaluate GAN sample quality with PyTorch
- compare generated images to real dataset distribution
- calculate FID on GPU
- use different Inception feature layers for small datasets
- reproduce FID scores comparable to the official implementation
When to choose
- you train GANs or diffusion models in PyTorch and need FID evaluation
- you want a pip-installable, scriptable FID calculator
- your datasets are small and you need alternative Inception feature layers
- you need results closely matching the official TensorFlow FID implementation
When to avoid
- you need FID scores exactly comparable to papers using the official TensorFlow implementation
- you need other generative evaluation metrics like Inception Score or KID
- you don't use PyTorch and prefer the original TensorFlow tooling
Facets
library · maturity stable
machine-learning image-processing benchmarking cli deep-learning machine-learning computer-vision image-processing python cross-platform pytorch fid-score frechet-inception-distance gan-evaluation inception-network generative-models gpu
2 sources
- readme: https://github.com/mseitzer/pytorch-fid · fetched 2026-08-28 · ee9e97bdb366
- registry_pypi: https://pypi.org/pypi/pytorch-fid/json · fetched 2026-08-29 · 6306ed9c38de
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| mseitzer/pytorch-fid | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="mseitzer/pytorch-fid")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem