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

IndexError: too many indices for tensor of dimension 2 #116

Open
vivva opened this issue May 16, 2021 · 1 comment
Open

IndexError: too many indices for tensor of dimension 2 #116

vivva opened this issue May 16, 2021 · 1 comment

Comments

@vivva
Copy link

vivva commented May 16, 2021

I got this error when I was training the model.

It should have gone wrong here, prop_ The dimension of type should be 3, but the output is 2. I don't understand why this is so

“prop_ type_ var: tensor([[0, 1, 1, 1, 1, 1, 1, 2]])”

Maybe it has something to do with the size of my picture? My picture size is 340 * 256

Please help me!!!thank you!

@vivva
Copy link
Author

vivva commented May 16, 2021

2021-05-16 21-28-55 的屏幕截图

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