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

Why the latent code from GAN inversion methods can be manipulated by the boundary #31

Open
WJ-Lai opened this issue Mar 26, 2020 · 2 comments

Comments

@WJ-Lai
Copy link

WJ-Lai commented Mar 26, 2020

Hi, thanks for sharing this great work!

I have some question as follow:

  1. The shape of 'donald_trump_01.npy' is (18,512) which has different values of 18 layers. However, your "smile.npy" has the same values of 18 layers. The meaning of 18 layers of 'donald_trump_01.npy' is different because the values are different, why it can edit by the same smile boundary?
    Do you know why it can also work?

  2. In move_and_show function, new_latent_vector[:8] = (latent_vector + coeff*direction)[:8]. Why just edited the first eight layers?

Thank you!

@olivercoad
Copy link

  1. What do you mean by boundary?

  2. For smile direction it makes sense to only alter the coarse layers and leave the fine layers alone. I would've thought other directions such as gender and age would need to change all the layers though. ¯\(ツ)

@ChengBinJin
Copy link

@WJ-Lai The smile direction was found in W space, but the Puzer's encoded latent from W+ space.

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