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

Problem occurres during reprojection. #8

Open
gsygsy96 opened this issue Aug 7, 2020 · 1 comment
Open

Problem occurres during reprojection. #8

gsygsy96 opened this issue Aug 7, 2020 · 1 comment

Comments

@gsygsy96
Copy link

gsygsy96 commented Aug 7, 2020

Hi @tetratrio, I tried to reproject LSUN images using run_projector.py. But I failed. Here are the input and the results. Using default parameters during reprojection. Could you help me figure out the problem? Thanks!

The input:
image0000-target

The results at step 200, step 800 and step 1600:
image0000-step0201
image0000-step0801
image0000-step1601

@adriansahlman
Copy link
Owner

Hey! What network weights are you using? "church-config-f"?
It does seem like its having a difficult time projecting back the input image. I have only tried the projection on FFHQ (faces) where it worked really well. I do think it will be harder to project other types of images as they are less structured than the faces (the faces are aligned where every image has the eyes in the exact same position e.t.c.). Can you try with some other pretrained weights and another input image?

The projection of real images will never be as good as that of generated images (generating an images and then running projection with the generated image as input will give very accurate results).

Screenshot 2020-08-08 at 16 34 28

You can see how it can not recreate the real images, just create something that looks a bit similar.

The quality of the church dataset is also lower than both the cars and ffhq dataset as far as I remember.

If you reduce the weight for noise regularization you may get more accurate recreation of your input image but the latent vector projected will not be the reason for that, instead the noise will be the main factor for how the output looks.

Screenshot 2020-08-08 at 16 45 03

Tell me if you get it to work better with some other model and input data or by changing some settings

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