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

Size mismatch #42

Open
Nd-sole opened this issue May 23, 2023 · 1 comment
Open

Size mismatch #42

Nd-sole opened this issue May 23, 2023 · 1 comment

Comments

@Nd-sole
Copy link

Nd-sole commented May 23, 2023

I am using generator with image size: 512, size: 256, style_dim: 512, channel_multiplier: 2. I am getting error:

Can you let me know what should be size config to have the network for image size 512 x 512?

generator.py", line 252, in forward
out = gamma * out + beta
RuntimeError: The size of tensor a (1024) must match the size of tensor b (512) at non-singleton dimension 2

@ForeverFancy
Copy link
Contributor

Hi, just set --size 512 in the command line to generate images of size 512x512.

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