Piqa

Latest version: v1.3.2

Safety actively analyzes 714815 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 2

1.0.5

🚑 Critical fixes

* Pin correct dependencies (3860c5c445d79f71b8af1ad93869673aef4afec9)
* Fix `FileNotFoundError` when loading `lpips.LPIPS` weights (200460a180b7eb416544a3e33d1d756993ab5213)
* Fix dimension mismatch in `tv.tv` (fe983b6a2b23b8b63db3469cf9d2002821a70934)

✅ Unit tests

Examples were added in the docstrings for a better user experience. They also acts as unit tests thanks to the [`doctest`](https://docs.python.org/3/library/doctest.html) and [`unittest`](https://docs.python.org/3/library/unittest.html) libraries.

1.0.0

📦 Package

* The package is renamed to PyTorch Image Quality Assessment (PIQA)
* PIQA is deployed on [PyPi](https://pypi.org/project/piqa/)

✨ Metrics

* `GMSD` Gradient Magnitude Similarity Deviation (8c1e1dcb9e330a564e3ef750b44394dfbbd3c6f0)
* `MDSI` Mean Deviation Similarity Index (e79b340d9c4a57e6a66cd2e3b6b2e63d5ab3d974)

⚡️ Improvements

* Use cascading named arguments (`**kwargs`) to simplify function signatures (3d1fd4c1acbc91acec0f65c4107adbb0f8b41f5a)
* Replace duplicated reduction `if elif else` statement by a function (c9719b2f284f67fe73f33f7e4be4d543371347c3)
* ...

📝 Documentation

* Update code style to be compliant with the [Google Python Style](https://google.github.io/styleguide/pyguide.html)
* Update docstrings for consistency with PyTorch docs

0.0.2beta

First release of the Simple PyTorch Image Quality (SPIQ) package 🎉

✨ Metrics

* `PSNR` Peak Signal-to-Noise Ratio (d79e5f32981350475c6446fcba9610fd631ecc07)
* `SSIM` Structural Similarity (c1addd271684dbd98af339a4e020932fb92e6026)
* `MS-SSIM` Multi-Scale Structural Similarity (be1821f23c0c81a6ee937dff125c5025042313f7)
* `TV` Total Variation (2be72f6bd848eada823ae6f210fea1f06967111d)
* `LPIPS` Learned Perceptual Image Patch Similarity (6a1703171fe8c296c597c937bc4e986a971ff6df)

📝 Documentation

* Installation instructions and snippet for getting started in [README](README.md)
* Documentation fully contained in the components' docstrings
* Documentation website generated automatically from the docstrings using [`pdoc`](https://github.com/pdoc3/pdoc)

📄 License

This package is under the [MIT License](https://en.wikipedia.org/wiki/MIT_License).

Page 2 of 2

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.