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

HR result is not similar to source image. #1

Closed
gordinmitya opened this issue Jun 2, 2020 · 2 comments
Closed

HR result is not similar to source image. #1

gordinmitya opened this issue Jun 2, 2020 · 2 comments

Comments

@gordinmitya
Copy link

gordinmitya commented Jun 2, 2020

Thank you for your impressive work and for sharing the code.
I put two png images into input folder:

size 256x256 32x32
input 2020-06-02 14 36 43 selfie
result

Moreover if I downscale enhanced image back to 32x32 I got very different thumbnail from the original one:
Screenshot 2020-06-02 at 2 50 51 PM

Could you assist me what am I doing wrong and how to reproduce results from paper?

@sachit-menon
Copy link
Collaborator

sachit-menon commented Jun 4, 2020

Hi, I suspect it may have to do with the input resolution you're using. What scale factor are you set to? Here are the results I get with the default x32 scaling (bicubically upscaling the 256x256 image to 1024x1024) using the Colab, an easy way to verify your results:
image

Let me know if you have further issues. I'll be uploading a ReadME with instructions on how to use the code in the next 1-2 days that may clarify some things.

@sachit-menon
Copy link
Collaborator

I've uploaded the README that hopefully addresses some of your questions, please give it a look. If you use the align_face.py script your problem should go away and you should get similar results to the Colab (image in my previous comment).

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