Comparison
clean-fid vs piq vs pyiqa 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 piqPyTorch Toolbox for Image Quality Assessment
Actively maintained. Last release 5 days ago, commits in 9 of the last 26 weeks. A safe choice.
pip install pyiqaHigh-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.
- torch-fidelity is the most used: 471.8K downloads a month, 1.7× more than piq.
- pyiqa is better maintained: Pythie’s Index 76 against 38.
Side by side
| Metric | clean-fid | piq | pyiqa | torch-fidelity |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 17 | 27 |