-
Notifications
You must be signed in to change notification settings - Fork 24.1k
Improve error readibility #749
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
add to #39 |
mrshenli
pushed a commit
to mrshenli/pytorch
that referenced
this issue
Apr 11, 2020
8000
…ials Fix formatting and clean up tutorial on quantized transfer learning
ashishfarmer
pushed a commit
to ashishfarmer/pytorch
that referenced
this issue
Oct 13, 2020
KyleCZH
pushed a commit
to KyleCZH/pytorch
that referenced
this issue
Sep 20, 2021
akashveramd
pushed a commit
to akashveramd/pytorch
that referenced
this issue
Apr 9, 2025
* Add basic setup for precommit * Update README.md with instructions on installing precommit hooks --------- Co-authored-by: Illia Silin <98187287+illsilin@users.noreply.github.com> Co-authored-by: Bartlomiej Wroblewski <bwroblewski10@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The error PyTorch throws are a tad hard to parse.
For example I get the following
It would be nicer to see something like "
target
is expected to be aLongTensor
, gotFloatTensor
instead". Moreover, I couldn't figure out where the error has been thrown (whichassert
does this).The text was updated successfully, but these errors were encountered: