-
Notifications
You must be signed in to change notification settings - Fork 16
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
No increase in resolution #4
Comments
The test.py is intended for testing only. Consequently, the script takes a high-resolution image, down-samples it to low resolution, and uses espcn to restore the resolution. For comparison sake, it calculates signal to noise ratio (psnr) on the input and plots the effects of simple bicubic interpolation. Therefore, both the bicubic and espcn outputs have as high resolution as the input. To achieve what you are asking, I suggest you try the following code that I have written based on the test.py script. |
import argparse import torch from models import ESPCN if name == 'main':
|
Hi, I ran the inference on a test image
And used the pre-trained weights provided by you.
I got 2 results:
and
But I got no improvement. That is, the resolution of all the images remained almost same: 579x1032 pixels for all 3 images.
What went wrong ?
The text was updated successfully, but these errors were encountered: