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

shape (1, 12, 512) to (1, 18, 512)? #35

Open
ahmedshingaly opened this issue May 29, 2020 · 1 comment
Open

shape (1, 12, 512) to (1, 18, 512)? #35

ahmedshingaly opened this issue May 29, 2020 · 1 comment

Comments

@ahmedshingaly
Copy link

how can I create stylegan model with (1, 18, 512)
my stylegan model is creating shape (1, 12, 512) and I cannot find the latent space developed by Puzer because of shape difference

in more details:
my model produce shape with (1, 12, 512) using (https://github.com/NVlabs/stylegan)
but when I use stylegan encoder (https://github.com/Puzer/stylegan-encoder) to find latent space it requires (1, 18, 512), do you have any idea how can I produce (1, 18, 512) model shapes instead of (1, 12, 512)?

@eps696
Copy link

eps696 commented May 29, 2020

number of layers depends on the model resolution. (1,18,512) is for 1024x1024, (1,12,512) is for 128x128. you should either take bigger model, or manually change that hard-coded shape.

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