Matlab ONNX file uses IR version 7 but i have ONNX file with IR version 8

37 次查看(过去 30 天)
Would appreciate the help , i keep getting the following error when trying to import an ONNX model
ONNX operator set 17 is not supported.
Does anyone know when matlab will support this ? or there is a way around it ?
i am using matlab version R2022b

采纳的回答

Sivylla Paraskevopoulou
The ONNX importer supports ONNX operator sets 6 to 14 (same in R2023a and R2022b). For more information, see importONNXNetwork limitations.
You can try to change the ONNX version by following the instructions here.
  1 个评论
Mads
Mads 2024-2-13
I'm getting the same error in R2023b (opset 17 vs 14), plus ONNX version 7 vs 6. What is the current status of updating matlab to keeping up with pytorch? I have also tried to trace and store the pytorch network as a *.pt file, only to find that matlab can't import it proper because it needs an imageinputlayer that I should add, only to find that imageinputlayer can take the input size the pytorch net used.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Image Data Workflows 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by