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: Given groups=1, weight of size [256, 1024, 3, 3], expected input[1, 512, 28, 28] to have 1024 channels, but got 512 channels instead #41

Open
YJY9898 opened this issue Apr 19, 2021 · 2 comments

Comments

@YJY9898
Copy link

YJY9898 commented Apr 19, 2021

During the test, this error occurred. Why is this? How to solve?

@andife
Copy link
Contributor

andife commented May 13, 2021

Have you found a solution? This looks like a similar problem I had recently when certain image dimensions had the wrong order (channel was not before x and y). What were the input dimensions of your image?

@Joysheng
Copy link

Have you found a solution?

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

3 participants