Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can not use the command --save_results #320

Open
ymtupup opened this issue Sep 29, 2021 · 7 comments
Open

can not use the command --save_results #320

ymtupup opened this issue Sep 29, 2021 · 7 comments

Comments

@ymtupup
Copy link

ymtupup commented Sep 29, 2021

捕获1

@ymtupup ymtupup changed the title can not can not use the command --save_results Sep 29, 2021
@ambikaverma
Copy link

ambikaverma commented Oct 6, 2021

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

@ambikaverma
Copy link

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

@ymtupup
Copy link
Author

ymtupup commented Oct 7, 2021

bugss
now new error comes....

@ymtupup
Copy link
Author

ymtupup commented Oct 9, 2021

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
Copy link
Author

ymtupup commented Oct 9, 2021

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
Copy link
Author

ymtupup commented Oct 9, 2021

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
Copy link

sry1999 commented Apr 24, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants