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

can not use the command --save_results

Open ymtupup opened this issue 3 years ago • 7 comments

捕获1

ymtupup avatar Sep 29 '21 02:09 ymtupup

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 avatar Oct 06 '21 14:10 ambikaverma

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

ambikaverma avatar Oct 06 '21 15:10 ambikaverma

bugss now new error comes....

ymtupup avatar Oct 07 '21 08:10 ymtupup

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 avatar Oct 09 '21 07:10 ymtupup

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 avatar Oct 09 '21 07:10 ymtupup

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.

ymtupup avatar Oct 09 '21 07:10 ymtupup

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.

sry1999 avatar Apr 24 '24 20:04 sry1999