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

第Batch[100]次时候报错 #15

Open
githupdebaba opened this issue Dec 12, 2022 · 1 comment
Open

第Batch[100]次时候报错 #15

githupdebaba opened this issue Dec 12, 2022 · 1 comment

Comments

@githupdebaba
Copy link

githupdebaba commented Dec 12, 2022

报错:
RuntimeError: Expected 4-dimensional input for 4-dimensional weight [100, 1, 3, 128], but got 3-dimensional input of size [2495, 1, 128] instead

输出size
Batch[9] - loss: 0.666672 acc: 86.7188%(111/128)1 torch.Size([128, 1, 103, 128])
torch.Size([128, 6])
Batch[10] - loss: 0.486642 acc: 90.6250%(116/128)1 torch.Size([2495, 1, 128])

@woshicqy
Copy link

老哥,你改了其他地方吗?我一开始的epoch,他的code就有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