EDSR-PyTorch icon indicating copy to clipboard operation
EDSR-PyTorch copied to clipboard

training results good but the test PSNR results are 0?

Open Ccbov opened this issue 5 years ago • 9 comments

image

why the test results PSNR are 0?

Ccbov avatar Dec 18 '19 07:12 Ccbov

Hi, I've just encountered the same problem, have you solved it?

XuZikang avatar Dec 26 '19 09:12 XuZikang

Hi, I've just encountered the same problem, have you solved it?

sorry, i dont

Ccbov avatar Dec 27 '19 02:12 Ccbov

Are you using an updated EDSR code? I encountered the same error in the previous version but it has been resolved in the latest version.

AbdulMoqeet avatar Jan 10 '20 04:01 AbdulMoqeet

Hi, I've just encountered the same problem, have you solved it?

my test code : CUDA_VISIBLE_DEVICES=2,3 python main.py --data_test Demo --ext img --scale 2 --n_resblocks 32 --n_feats 256 --res_scale 0.1 --pre_train ../experiment/edsr_x2/model/model_best.pt --test_only --save_results

dc-linkx avatar Dec 31 '20 07:12 dc-linkx

@dc-linkx Could you please attach a screenshot of output?

AbdulMoqeet avatar Dec 31 '20 07:12 AbdulMoqeet

@AbdulMoqeet here is the output , thx for your quick response image

dc-linkx avatar Dec 31 '20 07:12 dc-linkx

Demo is just for super-resolving the images. You may calculate PSNR by either using Matlab Code or change -data_test Demo to -data_set my_dataset and keep my_dataset folder into benchmark folder with this kind of directory structure . Before calculating on your dataset, first try with benchmark dataset to ensure, you are doing right.

AbdulMoqeet avatar Dec 31 '20 08:12 AbdulMoqeet

@dc-linkx 大佬你解决了吗,我连进度条都显示不出来?

Liiiiaictx avatar Jan 15 '24 07:01 Liiiiaictx

@AbdulMoqeet 你好, 我用python main.py --data_test Demo --scale 2 --n_resblocks 32 --n_feats 256 --res_scale 0.1 --pre_train ../experiment/model/EDSR_x2.pt --test_only --save_results测试 出现以下几个问题 1

Liiiiaictx avatar Jan 15 '24 09:01 Liiiiaictx