yunxiaoshi / Neural-IMage-Assessment

A PyTorch Implementation of Neural IMage Assessment
Other
508 stars 92 forks source link

About the test.py #34

Open hello-trouble opened 2 years ago

hello-trouble commented 2 years ago

Thank you for your excellent job. when I run the test.py with the csv file ,it seems wrong in the following line: "gt = test_df[test_df[0] == img].to_numpy()[:, 1:].reshape(10, 1)", some value errors occurred as following: ValueError: cannot reshape array of size 0 into shape (10,1). So sorry to disturb you about this issue. Looking forward to your help.

Maybe the format of the csv is different from that of the paper, How to generate the specified 11 columns csv file of the paper ?