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

Testing for scale 2 #12

Open
sooyekim opened this issue May 19, 2020 · 2 comments
Open

Testing for scale 2 #12

sooyekim opened this issue May 19, 2020 · 2 comments

Comments

@sooyekim
Copy link

Hi,

Thanks for providing the code!

I tried testing for scale 2 by modifying the scale parameter in test_Predictor.yml and test_Corrector.yml,
but the network keeps on upscaling the image by scale 4.
Could you provide some more details for upscaling with scale factor 2?

Thanks!

@msxiaojin
Copy link

Try to modify the 'network_G': upscale =4 to upscale =4 in both .yml files.
However, when I tested for scale 2, the output SR image seemed strange. Most of the pixel intensities are zero. Do you have the same problem?

@sooyekim
Copy link
Author

@msxiaojin
I tried modifying the scale parameter in test_SFTMD.yml to scale=2, which gave me x2 up-scaled results but with very dark pixel values like you.
I suppose they haven't provided the pre-trained weights for scale factor 2, and the scale parameter in the .yml files is intended just for the training stage.

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

2 participants