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

Train an encoder just using latents #5

Open
lifematrix opened this issue Dec 23, 2020 · 2 comments
Open

Train an encoder just using latents #5

lifematrix opened this issue Dec 23, 2020 · 2 comments

Comments

@lifematrix
Copy link

lifematrix commented Dec 23, 2020

Hi, thanks for your excellent work. I have read and run your code, and it inspired me a lot.

I have a question, if it is possible to train an encoder that outputs latents only, i.e, without noise?
Maybe the quality of the reconstructed image is not perfect, but it is more convenient to do some image morphing
like Image2Stylegan. Does it work just setting the argument --disable-update-for noise?

Thank you very much.

Steven

@lifematrix lifematrix changed the title Train a encoder just using latents Train an encoder just using latents Dec 23, 2020
@Bartzi
Copy link
Owner

Bartzi commented Dec 26, 2020

Hi,

tanks for your kind words!

Yes, --disable-update-for is exactly the correct way to achieve what you want. If you say --disable-update-for noise you will train a model that should be able to predict a latent vector with results close to the results from the Image2Stylegan paper.

@lifematrix
Copy link
Author

Hi, thanks for your nice reply.
I will try it later.

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