Effacer les filtres
Effacer les filtres

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

43 vues (au cours des 30 derniers jours)
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

Réponse acceptée

Sivylla Paraskevopoulou
Sivylla Paraskevopoulou le 7 Avr 2023
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 commentaire
Mads
Mads le 13 Fév 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.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Image Data Workflows dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by