toshas/torch-fidelity
High-fidelity performance metrics for generative models in PyTorch observed · 2026-08-28
Health v2 · maintenance only
70/100
- Activity 81
- Release rhythm 39
- Longevity 100
Flags: no_license
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: 2323
- days_rel: 197
- days_push: 114
- n_releases_24m: 1
Adoption not part of the score
1197 stars · 88 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A PyTorch library providing accurate and efficient implementations of generative model evaluation metrics such as FID, Inception Score, KID, Precision/Recall, and Perceptual Path Length. It offers both a CLI and Python API, with feature caching and extensibility for custom feature extractors.
Use cases
- compute FID between two image datasets
- calculate inception score for generated images
- evaluate GAN quality during training loop
- reproduce paper metrics for generative models
- measure precision and recall of generated samples
- evaluate diffusion model sample quality
- compute perceptual path length for GANs
When to choose
- you need numerically precise metrics matching reference implementations for papers
- you want fast metric computation with feature caching inside a training loop
- you need both CLI and programmatic evaluation in PyTorch
- you want to evaluate non-image modalities via custom feature extractors
When to avoid
- you need metrics for frameworks other than PyTorch
- you only need quick qualitative visual inspection of samples
- you require metrics not covered by the supported set without writing a custom extractor
Facets
library · maturity active
benchmarking machine-learning cli machine-learning deep-learning computer-vision artificial-intelligence python cli cross-platform pytorch gan-evaluation fid inception-score kid perceptual-path-length precision-recall generative-models metrics gpu
1 source
- readme: https://github.com/toshas/torch-fidelity · fetched 2026-08-28 · 0fc4cd7c96ba
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| toshas/torch-fidelity | main | 70 |
For agents
markdown · JSON · MCP: product_card(name="toshas/torch-fidelity")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem