π’ Major Changes
π© New Metrics
- Add
afinemetric proposed in AFINE for No-Reference image quality assessment. Thanks to Du CHEN for their great work π€, refer to their official paper for more details. - Add
sfid, a commonly used spatial FID metric for evaluating generative models. - Add
maclipmetric proposed in MACLIP, introducing magnitude in IQA. Thanks to zhicheng for their contribution π€. - Add
dmm(paper), a Full-Reference IQA method using SVD-based debiased mapping to mitigate perception bias. Thanks to baoliang for their great work π€.
π οΈ Enhancements
- Bundled the full Q-Align (qalign) architecture (Llama2 + mPLUG-Owl2 model implementations) directly into the package, reducing external dependencies and improving reliability. 9b94a86
- Improve
qaligncompatibility with latesttransformers. 83e54b7 - Fixed
compare2scoreinference results with a dedicated mPLUG-Owl2 model variant. 79b3434 - Enhanced QAlign class with improved image processing and more robust error handling. 317888e
- Add score direction information (
lower_better/higher_better) to all model cards. 4fd66f3
π Bug Fixes
- Fix
brisquemetric when loading from local model weights. 6edfb07 - Fix GFIQA dataset path (
GFIQAβGFIQA-20k). 39c89a6 - Fix spatial features used in
sfid. 9b040e4 - Remove random permutation in
inception_scoreto keep consistent and reproducible results. 812fc93 - Fix
accelerateversion constraint in requirements for compatibility. fe508fe
π¦ Build System
- Migrate from
setup.py+setup.cfg+MANIFEST.into modern Python packaging withpyproject.tomlandsetuptools-scmfor dynamic versioning. 2f246e5 - Add
uvinstallation option for significantly faster dependency resolution:pip install uv uv pip install pyiqa
π§ Code Quality
- Remove unused
icecreamdebug imports from multiple modules. b8e336c - Remove
class_mapping.jsonand simplify architecture registration in__init__.py. 317888e - Clean up unused code and comments in mPLUG-Owl2 model classes. 317888e
- Improve
pyiqacommand line argument descriptions for better usability. 317888e
π₯ Contributors
Thank you to the contributors who made this release possible:
- π Add
afinemetric by @ChrisDud0257 - π Fix tensor return in
afineby @rockerBOO - π Add
maclipmetric anddmm(#287) by @zhix000 - π Add score direction info to model cards by @0Ky
π For complete details, see the Full Changelog