Comparison
lpips vs piq vs pytorch-fid 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 piqPackage for calculating Frechet Inception Distance (FID) using 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-fidHigh-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
- 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.
- pytorch-fid 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.
- torch-fidelity also has the best Pythie’s Index (38).
Side by side
| Metric | lpips | piq | pytorch-fid | torch-fidelity |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 13 | 27 |