-
Notifications
You must be signed in to change notification settings - Fork 9
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 #5
Comments
Have you solved the problem?I have the same problem as you |
hello, have you solved this problem? |
have anyone solved this problem?................ |
Same problem! Have anyone solved it? |
I solved it `shape = list(images.shape) images = images.view(shape[0]*shape[1], *shape[2:]) labels = labels.view(-1)` just combine the 1st and the 2nd dimension of images and labels. |
when I run the program,I meet blow error:
RuntimeError :Expected 4-dimensional input for 4-dimensional weight [30,1,5,5],but got 5-
dimensional input of size [16,2,1,256,256] instead
I don't know why?please help me!
The text was updated successfully, but these errors were encountered: