This is the test code for NTIRE Perceptual Image Quality Assessment (PIQA) Challenge
By running "test_FR.py", result of inference is saved on "output.txt".
Before running "test_FR.py" you have to consider two things.
-
There are four parameters in "test_FR.py" (from line 132 to 146)
- GPU_NUM: name of GPU you want to use.
- ex) GPU_NUM = "0" or GPU_NUM="2"
- dirname: forder directory where test image exist
- weights_file: file name of model weights
- result_score_txt: text file name for storing inference results
if you setting 1), 2), 3) and running the "test_FR.py", inference result is saved in 4)
- GPU_NUM: name of GPU you want to use.
-
Test_Images folder You must save the reference and distoted images in "Test_Images" folder The example of saving file is listed as below
- put reference images in "Test_Images/Reference" folder
- put distorted images in "Test_Images folder"
There are examplar images in "Test_Images" foler