Comparison
lpips vs piq vs pyiqa vs pytorch-msssim
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 pyiqaFast 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-msssimIn 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-msssim is slowing down (last release over 3 years ago): fine for existing code, risky for a new project.
- pyiqa is the most used: 128.5K downloads a month.
- pyiqa also has the best Pythie’s Index (76).
- Safe default for a new project: pyiqa.
Side by side
| Metric | lpips | piq | pyiqa | pytorch-msssim |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 13 | 27 |