The code for [2209.10451] Learning from Mixed Datasets: A Monotonic Image Quality Assessment Model (arxiv.org)
Python 3+ PyTorch 1.4+ Matlab Successfully tested on Ubuntu 20.04
sample_name.m
combine_pmtrain.m
python Main.py --train True --network basecnn --representation BCNN --batch_size 32 --image_size 384 --lr 3e-4 --decay_interval 3 --decay_ratio 0.9 --max_epochs 24 --backbone resnet34
python Main.py --train False --get_scores True
Compute weighted PLCC/SRCC: calculate_mean.m