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: The size of tensor a (16) must match the size of tensor b (10) at non-singleton dimension 1 #28

Open
shrybht opened this issue Feb 11, 2019 · 1 comment

Comments

@shrybht
Copy link

shrybht commented Feb 11, 2019

I am facing a Runtime error while running the code.

RuntimeError: The size of tensor a (16) must match the size of tensor b (10) at non-singleton dimension 1

@zhilin007
Copy link

zhilin007 commented Jul 18, 2019

maybe you should convert label to one-hot type

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