BasicSR
BasicSR copied to clipboard
RCAN text.yml need be rectified
原test.yml是 path: pretrain_network_g: ./experiments/pretrained_models/RCAN/RCAN_BIX4-official.pth strict_load_g: true
报错,少了val。。应该改成下面这个吧。 path: pretrain_network_g: ./experiments/pretrained_models/RCAN/RCAN_BIX4-official.pth strict_load_g: true
val: save_img: true suffix: ~ # add suffix to saved images, if None, use exp name
metrics: psnr: # metric name, can be arbitrary type: calculate_psnr crop_border: 2 test_y_channel: false ssim: type: calculate_ssim crop_border: 2 test_y_channel: false
而且RCAN下面的train是x2的,到test就是x4了。