π’ Major Changes
π¦ Model Weights Migration
- All weights moved to Hugging Face: Now available at chaofengc/IQA-PyTorch-Weights
- β‘ Enables faster and more stable downloads
- π€ Allows community contributions for model weights
- π For users in mainland China: Use the Hugging Face mirror with:
export HF_ENDPOINT=https://hf-mirror.com
β‘ Performance Improvements
- Enhanced Metric Efficiency: All metrics now process 1080Γ800 images with:
- β±οΈ Sub-second inference time on NVIDIA V100 GPU
- πΎ Memory efficient: Most metrics require <6GB GPU memory. Exceptions:
qalign
andqalign_8bit
- π Detailed results available in efficiency benchmark
π Development Updates
- Dataset Organization: Split information consolidated into meta CSV files
- π Available at chaofengc/IQA-PyTorch-Datasets-metainfo
π Bug Fixes
- π§ Fixed weight loading functionality (5bc4df8)
- π Removed imgaug for NumPy 2.x compatibility (336831)
- π οΈ Resolved LIQE num_patch issue (5a3b3e3) - Thanks @avermilov
β¨ New Features
π New Metrics
- Add perceptual color difference metric
msswd
proposed in MS-SWD (ECCV2024). (3835ad9) - Added
lpips+
andlpips-vgg+
(b57dede) - Implemented
piqe
metric (5b5afb3) - Added MATLAB-compatible
niqe_matlab
andbrisque_matlab
(065c2b7) - Introduced
qalign_8bit
andqalign_4bit
(e225d8f)
π οΈ Enhanced Functionality
- Added approximate score ranges for metrics (cbba398)
- Implemented optional input validation (0aa6f71)
β‘ Performance & Usability Improvements
π Speed Optimizations
- π₯ Faster loading through simplified imports and lazy loading with class mapper cache
- β‘ 5x GPU performance boost for
nrqm
andpi
metrics - π Enhanced efficiency for
ilniqe
andpiqe
through matrix operations
π» Command Line Interface
- π§ Improved CLI syntax:
pyiqa [metric_name(s)] -t [image_path or dir] -r [image_path or dir] --device cuda --verbose
π Documentation
- π Comprehensive documentation updates and improvements
π₯ Contributors
Thank you to our new contributors for their valuable input:
- π @jaycecd: Score range improvements (#180)
- π @Luciennnnnnn: Cache strategy enhancement (#192)
- π @RistoAle97: Typo fixes (#197)
π For complete details, see the Full Changelog