-
Notifications
You must be signed in to change notification settings - Fork 966
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
Pytorch to IR Error (.pth ImportError) #383
Comments
Hi @wwqLearning , there is a class names Mode defined by you. Please refer to this |
@namizzz Thanks. I have solved the ImportError, but have another error in maxpool2d with indice. |
Hi @wwqLearning , could you please provide the whole error stack? |
@namizzz The error is "graph = torch._C._jit_pass_onnx(graph, aten) |
Hi @wwqLearning , we want something like #388 (comment) , and could you provide your model files? |
@namizzz Is this the whole error stack? |
@namizzz The model is something like the model in https://github.com/davidtvs/PyTorch-ENet |
Hi @wwqLearning ,It's a problem about onnx "MaxPool2d with index output is not supported in ONNX ". |
Platform (ubuntu 16.04):
Python version: python2.7
Source framework with version (Pytorch 0.4.0 with CPU):
Destination framework with version (caffe with CPU):
Pre-trained model path (disk path):
Running scripts: mmtoir -f pytorch -d enet --inputShape 6,384,384 -n model_net_G.pth
Error: ImportError: No module named Mode.enet_mode
The text was updated successfully, but these errors were encountered: