-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
RuntimeError: The size of tensor a (1024) must match the size of tensor b (512) at non-singleton dimension 1 #629
Comments
I get the same error but with different shapes:
This is my cmd: |
我也有同样问题,能互相交流吗? |
it started working When I changed cdg to "stylegan2" |
I also get the exact same error while I am loading the 512*512 pretrained model stylegan3-r-afhqv2-512x512.pkl, with different set of configurations including the suggested configuration here: https://github.com/NVlabs/stylegan3/blob/c233a919a6faee6e36a316ddd4eddababad1adf9/docs/configs.md Can someone please guide how to resolve this issue? |
I received the error below when trying to train images with labels with pretrained weights, could somebody help me to fix this?
File "stylegan3/torch_utils/misc.py", line 162, in copy_params_and_buffers
tensor.copy_(src_tensors[name].detach()).requires_grad_(tensor.requires_grad)
RuntimeError: The size of tensor a (1024) must match the size of tensor b (512) at non-singleton dimension 1
The text was updated successfully, but these errors were encountered: