EDSR-PyTorch
EDSR-PyTorch copied to clipboard
How to test? Please!!! I have got the pre-trained models, but i don't know the test commend。
hello, Have you learned about it? I got some mistakes about the testing, I used my own images, but the model outputs only artifacts.
Maybe I am too late but for anyone else, you need to add a few additional parameters and the function call should look like this:
python main.py --data_test Demo --scale 4 --pre_train ../models/EDSR_x4.pt --n_resblocks 32 --n_feats 256 --res_scale 0.1 --test_only --save_results
This is after creating a folder containing your test images called 'test' in same working directory where you have other folders like src, models, etc.
Thank you very much! It's works for me.
Why the --save_results come out error?
I'm getting same error as above for --save_result. any recommendations? @mylifeasazucchini
update - https://github.com/sanghyun-son/EDSR-PyTorch/issues/320#issuecomment-936413370
Major update - working now. I had missed adding --n_resblocks 32 and --res_scale 0. now its working as expected. thank you!
n_resblocks 32 --n_feats 256 --res_scale 0.1 which i use" n_resblocks 32 --n_feats 256 --res_scale 0.1"it is worse than that which i do not use the“ n_resblocks 32 --n_feats 256 --res_scale 0.1”, when i test x3_moedl.
hello, Have you learned about it? I got some mistakes about the testing, I used my own images, but the model outputs only artifacts.
Excuse me, have you solved it? When I test with my own test set, I can only output super-resolution images, and PSNR = 0?
sorry! i'm too late. You should debug it! i guess that the module can't get the test path.
At 2022-08-30 16:39:18, "liu1216" @.***> wrote:
hello, Have you learned about it? I got some mistakes about the testing, I used my own images, but the model outputs only artifacts.
Excuse me, have you solved it? When I test with my own test set, I can only output super-resolution images, and PSNR = 0?
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>