Comparison
clean-fid vs image-similarity-measures vs piq 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-fidEvaluation metrics to assess the similarity between two images.
Slowing down. Last release over 3 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install image-similarity-measuresMeasures 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 piqHigh-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.
- image-similarity-measures 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.
- 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 | image-similarity-measures | piq | torch-fidelity |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 17 | 27 |