-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[ONNXRuntimeError] : 6 : RUNTIME_EXCEPTION : Non-zero status code returned while running PRelu node #3205
Comments
Well the root cause is that there seems to have been a problem with the export to ONNX - The output shape of the marked Conv node will be - [1, 64, 56, 56] and BatchNorm will propagate that shape to PRelu. The shape of the slope tensor in PRelu should be broadcastable to the input shape. - https://github.com/onnx/onnx/blob/master/docs/Operators.md#prelu. [64] is not broadcastable to [1, 64, 56, 56]. Even if this issue is fixed, the model exported from MxNet with BatchNorm will not run. Please see the following for details - Closing as this is not a runtime issue. |
Hello. Hvae you solved your problem? |
@ilovewangzeyu I have not. |
The root cause is as @hariharans29 said. I found this link change the function convert PReLU from mxnet to onnxruntime. Another way, i wrote a script for convert the exported model from mxnet to onnx to add a Reshape layer before BatchNormalization layer and it works for me.
|
Every angle, always come back to Onnx Model error. Same error here. Onnx just doesnt work! |
So sad to come here and I still don't know how to solve this problem |
Any idea where am I wrong in the export here? |
Describe the bug
I'm trying to run a model, which is converted from Mxnet to ONNX.
. My script is:
System information
To Reproduce
You can get my model in link
How can I fix this error? Any advices will be awesome!
Thanks
The text was updated successfully, but these errors were encountered: