sanghyun-son / EDSR-PyTorch

PyTorch version of the paper 'Enhanced Deep Residual Networks for Single Image Super-Resolution' (CVPRW 2017)
MIT License
2.43k stars 670 forks source link

can not use the command --save_results #320

Open ymtupup opened 3 years ago

ymtupup commented 3 years ago

捕获1

ambikaverma commented 3 years ago

I am also getting same error. :( this PR https://github.com/sanghyun-son/EDSR-PyTorch/pull/291 seems to fix above error but then I get following error - image

Update: I can fix this error by removing HR from below - image since at test time we don't have corresponding HR (high res) image its size is empty resulting in error when we try to permute.

So the SR saves the super resolution output, though it looks more like a feature map - image

ambikaverma commented 3 years ago

Major update - working now. I had missed adding --n_resblocks 32 and --res_scale 0. now its working as expected. thank you!

ymtupup commented 2 years ago

bugss now new error comes....

ymtupup commented 2 years ago

I am also getting same error. :( this PR #291 seems to fix above error but then I get following error - image

Update: I can fix this error by removing HR from below - image since at test time we don't have corresponding HR (high res) image its size is empty resulting in error when we try to permute.

So the SR saves the super resolution output, though it looks more like a feature map - image

why I have another error?? please help me

ymtupup commented 2 years ago

I am also getting same error. :( this PR #291 seems to fix above error but then I get following error - image Update: I can fix this error by removing HR from below - image since at test time we don't have corresponding HR (high res) image its size is empty resulting in error when we try to permute. So the SR saves the super resolution output, though it looks more like a feature map - image

why I have another error?? please help me

ymtupup commented 2 years ago

I am also getting same error. :( this PR #291 seems to fix above error but then I get following error - image

Update: I can fix this error by removing HR from below - image since at test time we don't have corresponding HR (high res) image its size is empty resulting in error when we try to permute.

So the SR saves the super resolution output, though it looks more like a feature map - image

Is it convenient to leave an email, I want to ask some questions about image superresolution.

sry1999 commented 5 months ago

I use EDSR_x4.pt to test the model, and have outputs like above, looks more like a feature map. Later I see issue #187, and I change the command like: python3 main.py --data_test Demo --scale 4 --n_resblocks 32 --n_feats 256 --res_scale 0.1 --pre_train ../experiment/model/EDSR_x4.pt --test_only --save_results and it works.