SSL92 / hyperIQA

Source code for the CVPR'20 paper "Blindly Assess Image Quality in the Wild Guided by A Self-Adaptive Hyper Network"
MIT License
361 stars 52 forks source link

the 'dmos_realigned.mat' of LIVE database #11

Closed yinglili666 closed 4 years ago

yinglili666 commented 4 years ago

I want to train the model on LIVE database, but there is an error about 'dmos_realigned.mat'. The code is here ''dmos = scipy.io.loadmat(os.path.join(root, 'dmos_realigned.mat')) labels = dmos['dmos_new'].astype(np.float32)''

Is it correct for me to replace 'dmos_realigned.mat' with ‘dmos.mat' and 'dmos_new' with 'dmos'(using the mat file in live database) , or have you processed the data in any other way?

Thank you

SSL92 commented 4 years ago

So what is the error reported?

yinglili666 commented 4 years ago

So what is the error reported?

when I used the code you published, there is an error that No such file or directory about 'dmos_realigned.mat'. Then I replace 'dmos_realigned.mat' with ‘dmos.mat' , the 'KeyError: 'dmos_new'' is occurred.

SSL92 commented 4 years ago

Seems you're using a Release 1 version of LIVE dataset, see http://live.ece.utexas.edu/research/Quality/subjective.htm and get a Release 2 version, the problem should be solved.

yinglili666 commented 4 years ago

Seems you're using a Release 1 version of LIVE dataset, see http://live.ece.utexas.edu/research/Quality/subjective.htm and get a Release 2 version, the problem should be solved.

I think I know the reason. I used the release2 but I don't download the realigned subjective quality data. thank you!

SSL92 commented 4 years ago

Cool