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

error #13

Open
pyh007 opened this issue Aug 28, 2023 · 0 comments
Open

error #13

pyh007 opened this issue Aug 28, 2023 · 0 comments

Comments

@pyh007
Copy link

pyh007 commented Aug 28, 2023

Loading stylegan weights from pretrained!
Traceback (most recent call last):
File "/home/akira/DeltaEdit/scripts/inference_real.py", line 206, in
main(opts)
File "/home/akira/DeltaEdit/scripts/inference_real.py", line 189, in main
fake_delta_s = net(latent_s, delta_c)
File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1130, in _call_impl
return forward_call(*input, **kwargs)
File "/home/akira/DeltaEdit/./delta_mapper.py", line 60, in forward
x_coarse = torch.cat([s_coarse, torch.stack([c_coarse]*3, dim=1)], dim=2) #[b,3,1024]
RuntimeError: Sizes of tensors must match except in dimension 2. Expected size 2 but got size 1 for tensor number 1 in the list.
我自己上传了一张图片,为什么报这个错误了

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

1 participant