We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, I hit the following error when I run cifar.py with pytorch 1.0.1.post2.
IndexError: invalid index of a 0-dim tensor. Use tensor.item() to convert a 0-dim tensor to a Python number
This is due to a pytorch version greater hthan 0.5 is used as reported here. I've posted a fix here in case other people encounter the same issue.
The text was updated successfully, but these errors were encountered:
Thanks. Would you be able to create a PR?
Sorry, something went wrong.
No branches or pull requests
Hi, I hit the following error when I run cifar.py with pytorch 1.0.1.post2.
This is due to a pytorch version greater hthan 0.5 is used as reported here. I've posted a fix here in case other people encounter the same issue.
The text was updated successfully, but these errors were encountered: