-
Notifications
You must be signed in to change notification settings - Fork 699
Example MNIST erroring on assertion #4210
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
Comments
change this line Line 170 in 0546c76
to auto correct = label.getHandle<sdim_t>().at({0}); because label is 1D tensor |
@christywarden734 Yes, as @maxwillzq noted this should be changed. Would either of you like to put up this easy fix? |
@jfix71 can you assigned to me? I can fix it? |
add PR #4598 to fix this small bug |
facebook-github-bot
pushed a commit
that referenced
this issue
Jun 25, 2020
Summary: Documentation: [Optional Fixes #issue] Pull Request resolved: #4598 Test Plan: Please see a detailed explanation of how to fill out the fields in the relevant sections in PULL_REQUEST.md. Reviewed By: gcatron Differential Revision: D22049183 Pulled By: jfix71 fbshipit-source-id: fc8261bf4d7dc41c8c4f52d12815396978f7bc75
vdantu
pushed a commit
to vdantu/glow
that referenced
this issue
Jul 12, 2020
Summary: Documentation: [Optional Fixes #issue] Pull Request resolved: pytorch#4598 Test Plan: Please see a detailed explanation of how to fill out the fields in the relevant sections in PULL_REQUEST.md. Reviewed By: gcatron Differential Revision: D22049183 Pulled By: jfix71 fbshipit-source-id: fc8261bf4d7dc41c8c4f52d12815396978f7bc75
geoffberry
pushed a commit
to geoffberry/glow
that referenced
this issue
Nov 8, 2020
Summary: Documentation: [Optional Fixes #issue] Pull Request resolved: pytorch#4598 Test Plan: Please see a detailed explanation of how to fill out the fields in the relevant sections in PULL_REQUEST.md. Reviewed By: gcatron Differential Revision: D22049183 Pulled By: jfix71 fbshipit-source-id: fc8261bf4d7dc41c8c4f52d12815396978f7bc75
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello!
I am trying to run the MNIST example and am running into an error here: https://github.com/pytorch/glow/blob/master/examples/mnist.cpp#L170
With the error being
I added a statement right before the assertion:
if (indices.size() > strides.size()) { LOG(INFO) << "Indices size: #" << indices.size(); LOG(INFO) << "Strides size: #" << indices.size(); }
which printed
before erroring.
Any help understanding what could be going on would be greatly appreciated :) Thanks so much!
The text was updated successfully, but these errors were encountered: