-
Notifications
You must be signed in to change notification settings - Fork 86
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
Dosen't work with LQ mode #4
Comments
Thanks for pointing out this. I have modified the code, and please use 'LR' instead of 'LQ' in this mode to create dataset. Thanks. |
thanks for your update~~~ |
Sorry about it. I have updated the code. Please still use 'LQ' now. Thanks! |
thank you so much. |
Image rescaling is a different task from super-resolution (see 'Difference from SR' in the paper). IRN downscales HR images and reconstruct them from the downscaled LR images, while the ultimate goal of super-resolution is to upscale arbitrary LR images. So in our test code, we only need HR images to verify the performance. |
get it. |
@pkuxmq Have you tested how IRN performs on just super resolution task (i.e. upscale arbitrary LR image)? |
If we just use the architecture of IRN for paired training of bicubic-downscaled LR images and HR images (latent variable z as padding 0), which is the setting of many sr methods, the performance is not as good as them. Reasons include that our invertible architecture is not mainly designed for prior learning, and the parameters are fewer. The improvement of IRN comes from our invertible modeling for downscaling and upscaling. |
Hi, I successfully test for just super resolution task with bicubic downsampled LR images. Just provide my test code for reference. in the test.py:
and comment following codes. Then you could save the fake-HR images for quantitative measurement. At last, thanks for the author's amazing work @pkuxmq . |
|
Hi @pkuxmq
Thanks for your amazing work.
I am trying to run the test code with LQ mode, ie. merely low resolution images are provided. it seems that this mode hasn't been tested, say, LQ_dataset is not defined. Could you please update your code later?
Thanks,
Lei
The text was updated successfully, but these errors were encountered: