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
Unhelpful error message: file: ../../lib/Importer/Caffe2ModelLoader.cpp line: 175 message: Can't find the model or network files. #2647
Comments
Related to #2627. (I think) |
Yep! I just thought it'd be good to document some of the places where our error reporting needs love :-) |
@ZchiPitt should be easy and useful for future debugging. |
Hi @bertmaher the line number you are pointing to seems to be different now (it is not really printing anything). Can you please update this issue? |
I think it is 247 maybe? |
I think it's in these places (both the C2 and ONNX importers do it): |
This fixes issue pytorch#2647 Add the name of the network or model we are trying to load to the log messages we print at failures.
Would be nice to print what model/network it is looking for. Also, are "model" and "network" different things here? Could we pick one word or the other?
The text was updated successfully, but these errors were encountered: