huawei-noah / Pretrained-IPT

Apache License 2.0
434 stars 63 forks source link

LR and HR images of dataset #52

Open farah32 opened 1 year ago

farah32 commented 1 year ago

Hi can you please guide me, how i can get the LR and HR images for testing purpose? or there is some operation before testing the dataset? i mean we have to apply the operation to get x2,x3,x4 images?

I am using set5 for testing .can you please share the picture of your arranged dataset?

python main.py --dir_data IPT_DATA --pretrain tmodel/IPT_sr2.pt --data_test Set5 --scale 2 --test_only True --save_results True

Note: path of images should be like: $MODEL_PATH/benchmark/Set5/HR/XXX.png and $MODEL_PATH/benchmark/Set5/LR_bicubic/XXX.png