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

Code to inference new image #9

Open
gradient1706 opened this issue Oct 5, 2021 · 1 comment
Open

Code to inference new image #9

gradient1706 opened this issue Oct 5, 2021 · 1 comment

Comments

@gradient1706
Copy link

Thank you for sharing this good work. I'm testing new image on the Colab inference notebook you have shared but unfortunately the Example 3 gives me bad results on all of images I uploaded. Don't know why although I run the exact same code on Colab notebook. Can you please take a look and share code for inference new images. Thanks in advance. I think it's because of encoder model. This is the image after run the projector.py line of code on Colab notebook.
image
Maybe that leads to the generated images being distorted too.

@happy-jihye
Copy link
Owner

happy-jihye commented Oct 20, 2021

Hello,

You have to upload an image aligned with FFHQ method.
Re-arrange the image through the code of this repo (FFHQ-Alignment) and encode the image.
This issue (#6) is example.

Thank you.

@idhamari idhamari mentioned this issue Jul 28, 2023
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