-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Error: shape inconsistent while converting PyTorch model to mxnet model with onnx #13949
Comments
Hey, this is the MXNet Label Bot. |
@wangliye00 Thanks for raising this issue. @mxnet-label-bot Add [ONNX, Bug] |
I phase the same error on version 1.3.1 for Linux. |
I get this error. (MXNet built from source). |
@wangliye00 @Con-Mi However, I do see the error that you facing with MXNet v1.3.1. For fixing this, could you try pulling in the commit #13413 and checking if you are able to proceed further? |
@mxnet-label-bot remove[Bug] |
@mxnet-label-bot add [pr-awaiting-response] |
Please reopen a new issue if you still face problems after pulling in the commit that @vandanavk suggested and we'll take investigate further. |
I am facing similar issue when loading pytorch-densenet onnx model into mxnet. The error message reads:
I tried mxnet 1.3.1 (after patched |
@nswamy I think we should open this issue, since it still persists. |
I have the same problem when load resnet50 onnx model |
same problem with you @JohnLee168 |
@vandanavk , i have the same problem with you: "KeyError: 'concat0'", and i test many onnx model which export from pytorch, Does the problem have any solution , thank u |
I too have the same problem. Is there any solution? Thanks |
I too have run into the same issue. Hoping the fix can be released ASAP. |
Maybe in “import_onnx.py” function “def from_onnx()” loss _nodes messages, you can try adding information. |
any solution? |
Description
I tried to convert a pretrained pytorch resnet18 to onnx format, then to mxnet model. But shape inconsistent error occurred when I load the onnx file with mxnet.contrib.onnx module.
Environment info (Required)
The text was updated successfully, but these errors were encountered: