Comparison
lpips vs piq vs pyiqa vs torch-fidelity
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
LPIPS Similarity metric
Likely abandoned. No release or commit for years (last release over 5 years ago).
pip install lpipsMeasures 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 4 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 9 months ago, commits in 1 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install torch-fidelityIn short
- lpips looks abandoned: avoid it for new projects.
- 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: 457.4K downloads a month.
- pyiqa is better maintained: Pythie’s Index 76 against 38.
Side by side
| Metric | lpips | piq | pyiqa | torch-fidelity |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 13 | 27 |