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

HELP: I run the code, but got the following error,can you help me? #5

Open
ChocalateWZLH opened this issue Sep 22, 2022 · 0 comments
Open

Comments

@ChocalateWZLH
Copy link

Traceback (most recent call last):
File "C:/Users/Desktop/FREE-main/train_free.py", line 237, in
fake = netG(z, c=input_attv)
File "D:\PyCharm\Anaconda\envs\Python 3_8\lib\site-packages\torch\nn\modules\module.py", line 1130, in _call_impl
return forward_call(*input, **kwargs)
File "C:\Users\14367\Desktop\FREE-main\model.py", line 59, in forward
x1 = self.lrelu(self.fc1(z))
File "D:\PyCharm\Anaconda\envs\Python 3_8\lib\site-packages\torch\nn\modules\module.py", line 1130, in _call_impl
return forward_call(*input, **kwargs)
File "D:\PyCharm\Anaconda\envs\Python 3_8\lib\site-packages\torch\nn\modules\linear.py", line 114, in forward
return F.linear(input, self.weight, self.bias)
RuntimeError: mat1 and mat2 shapes cannot be multiplied (64x1336 and 2048x4096)

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