You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Background
When I compile shufflenetv2.onnx model(format ONNX v4/ torch1.2/ ai.onnx v8) in the newest docker supported by ONNC (1.3.0), come out the Fatal message: Fatal:Cannot inference shape of this onnx model, got exception from ONNX: Your model ir_version is higher than the checker's
And I check /models/ in ONNC docker(onnc-community:1.3.0)
all the models built by: format ONNX v3 producer pytorch 1.2 imports ai.onnx v8
My questions: 1: How to export onnx model with (v3, 1.2, v8) by pytorch ?
(1) I have tried a lot and get this result:(use torch.onnx.export)
pytorch
format ONNX ir_version
producer pytorch
imports ai.onnx
1.4
v4
1.3
v8~
1.2
v4
-
v8~
1.1
v4
-
v9~
1.0
v3
0.4
v9~
0.4
v3
0.3
v6~
It seems that ONNC 1.3.0 only support ir_version v3.
So how to export onnx v3 with producer 1.2 ? torch.onnx.export-source code
Can you share the script which is to export ONNX(v3,1.2,v8) or can you package the environment into a docker and share it please?
(2) The new ONNX model has achieved v6, can anybody share the develop plan for the ir_version please?
The text was updated successfully, but these errors were encountered:
Background
![image](https://user-images.githubusercontent.com/57429717/81779682-c899b080-9527-11ea-8654-e8dae1623a27.png)
![image](https://user-images.githubusercontent.com/57429717/81779833-10b8d300-9528-11ea-8500-f6379388de2d.png)
When I compile shufflenetv2.onnx model(format ONNX v4/ torch1.2/ ai.onnx v8) in the newest docker supported by ONNC (1.3.0), come out the Fatal message:
Fatal:Cannot inference shape of this onnx model, got exception from ONNX: Your model ir_version is higher than the checker's
And I check /models/ in ONNC docker(onnc-community:1.3.0)
all the models built by:
format ONNX v3 producer pytorch 1.2 imports ai.onnx v8
My questions:
1: How to export onnx model with (v3, 1.2, v8) by pytorch ?
(1) I have tried a lot and get this result:(use torch.onnx.export)
It seems that ONNC 1.3.0 only support ir_version v3.
![image](https://user-images.githubusercontent.com/57429717/81787022-07813380-9533-11ea-9b77-6b1caf310c41.png)
So how to export onnx v3 with producer 1.2 ? torch.onnx.export-source code
Can you share the script which is to export ONNX(v3,1.2,v8) or can you package the environment into a docker and share it please?
(2) The new ONNX model has achieved v6, can anybody share the develop plan for the ir_version please?
The text was updated successfully, but these errors were encountered: