Comparison
clean-fid vs piq vs pytorch-msssim vs torch-fidelity
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
FID calculation in PyTorch with proper image resizing and quantization steps
Slowing down. Last release over 3 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install clean-fidMeasures and metrics for image2image tasks. PyTorch.
Slowing down. Last release over 3 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install piqFast and differentiable MS-SSIM and SSIM for pytorch.
Slowing down. Last release over 3 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install pytorch-msssimHigh-fidelity performance metrics for generative models in PyTorch
Low maintenance activity. Last release 10 months ago, commits in 1 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install torch-fidelityIn short
- clean-fid is slowing down (last release over 3 years ago): fine for existing code, risky for a new project.
- piq is slowing down (last release over 3 years ago): fine for existing code, risky for a new project.
- pytorch-msssim is slowing down (last release over 3 years ago): fine for existing code, risky for a new project.
- torch-fidelity is the most used: 471.8K downloads a month, 1.7× more than piq.
- torch-fidelity also has the best Pythie’s Index (38).
Side by side
| Metric | clean-fid | piq | pytorch-msssim | torch-fidelity |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 17 | Pythie’s Index: 27 | Pythie’s Index: 17 | Pythie’s Index: 38 |
| Verdict | Slowing down | Slowing down | Slowing down | Low maintenance activity |
| Downloads / month | 175.3K | 279.2K | 194.8K | 471.8K |
| Downloads, month over month | +11% | -33% | -43% | -11% |
| GitHub stars | 1.2K | 1.6K | 1.3K | 1.2K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 8 | 19 | 34 | 11 |
| Last release | Dec 18, 2022 | Jul 4, 2023 | May 25, 2023 | Feb 17, 2026 |
| Releases, 12 months | 0 | 0 | 0 | 1 |
| Weeks with commits | 0 / 26 | 0 / 26 | 0 / 26 | 1 / 26 |
| Recent contributors | 10 | 12 | 8 | 6 |
| First release | Apr 2021 | Jun 2020 | May 2019 | Apr 2020 |
| Python versions | – | – | – | – |
| License | MIT | Apache-2.0 | MIT | Apache-2.0 |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.