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

use e4e latent #3

Open
loboere opened this issue Nov 7, 2021 · 7 comments
Open

use e4e latent #3

loboere opened this issue Nov 7, 2021 · 7 comments

Comments

@loboere
Copy link

loboere commented Nov 7, 2021

is possible load a e4e latent?

@mchong6
Copy link
Owner

mchong6 commented Nov 9, 2021

If I am not wrong e4e is pretrained on 1024 resolution GAN, so it wouldn't work directly since I am using a 256 resolution GAN. However, my method should generalize to 1024 resolution GAN, so I can see you working with e4e that way.

@amadeuzou
Copy link

I used origin latent projected by face.pt with a real world image, and got a nice result:
real world image | projected image as input | generated reference image | output styled image
output (2)

@mchong6
Copy link
Owner

mchong6 commented Nov 10, 2021

This is very cool and works better than I imagine. Did you use the projector.py code to do GAN inversion?

@amadeuzou
Copy link

yes, the projector.py code in rosinality's project.
but i got bad results with your train.py code on disney dataset:
010000
[sample_disney/010000.png]

@mchong6
Copy link
Owner

mchong6 commented Nov 10, 2021

Did you start training with face.pt?

@amadeuzou
Copy link

yes, the early model results are normal, such as 1000iters.

@mchong6
Copy link
Owner

mchong6 commented Nov 11, 2021

try using early model then. IIRC, this model I uploaded is only 2k iterations.

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

3 participants