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

RuntimeError: Expected 5-dimensional input for 5-dimensional weight 64 3 1 7 7, but got 4-dimensional input of size [12, 10, 224, 224] instead #39

Open
Tramac opened this issue Nov 22, 2021 · 0 comments

Comments

@Tramac
Copy link

Tramac commented Nov 22, 2021

img_group shape=(4, 3, 10, 224, 224) # NCTHW

After operator: img_group.reshape((-1,) + img_group.shape[2:]), the shape of x is: (12, 10, 224, 224), and leads to the error above in here.

Is this a code bug?

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