tsnlab / connx

C implementation of Open Neural Network Exchange Runtime
GNU General Public License v3.0
25 stars 8 forks source link

Error: illegal mode: lose input #87

Closed mryndzionek closed 1 year ago

mryndzionek commented 1 year ago

While converting an ONNX model I have:

Fatal: Cannot import onnx model, got exception from ONNX: illegal mode: lose input onnx::Concat_296

I think it has something to do with the Identity operator. Help with solving this is greatly appreciated.

semihlab commented 1 year ago

Which onnx version did you imported? CONNX supports from 1.5 to 1.11. The latest verion is working in progress.

mryndzionek commented 1 year ago

Okay, fair enough. The version I used is 1.12.0.

mryndzionek commented 1 year ago

I converted to 1.11, but still same error.

tribela commented 1 year ago

If you don't mind, Please provide these info:

mryndzionek commented 1 year ago

I'm really sorry, I think I've sent the wrong error message (from another ONNX compiler). I was testing many compilers/converters in last few weeks, but actually none of them was able to convert/compile my model, so I'm attaching the model: model_1.onnx.tar.gz I think the main problem is that, as Netron is showing, the Identity layers are unconnected. Let me know if you have more insight.