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

expected tensor [64 x 32 x 3 x 3] and src [1776] to have the same number of elements, but got 18432 and 1776 elements respectively #93

Open
QSJZDDY opened this issue Apr 20, 2023 · 1 comment

Comments

@QSJZDDY
Copy link

QSJZDDY commented Apr 20, 2023

RuntimeError: inconsistent tensor size, expected tensor [64 x 32 x 3 x 3] and src [1776] to have the same number of elements, but got 18432 and 1776 elements respectively at /pytorch/torch/lib/TH/generic/THTensorCopy.c:86

how could i sovle this problem,my env is pytorch0.3.1 and torch 0.2.0

@qjh666888
Copy link

请问解决了嘛

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