Matlab ONNX file uses IR version 7 but i have ONNX file with IR version 8
38 views (last 30 days)
Show older comments
Mohamed Eltabbal
on 7 Apr 2023
Commented: Mads
on 13 Feb 2024
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
0 Comments
Accepted Answer
Sivylla Paraskevopoulou
on 7 Apr 2023
The ONNX importer supports ONNX operator sets 6 to 14 (same in R2023a and R2022b). For more information, see importONNXNetwork limitations.
1 Comment
Mads
on 13 Feb 2024
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.
More Answers (0)
See Also
Categories
Find more on Image Data Workflows in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!