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
Hello Everyone. I am facing the following issue when I try to import a ViT model in Matlab Ver 2023b.
net2 = importNetworkFromONNX("D:\vit_b_16_Opset16.onnx")
Warning: The ONNX file uses IR version 8, while the highest fully-supported IR is version 7.
In nnet.internal.cnn.onnx.warnIfFutureIR (line 7)
In nnet.internal.cnn.onnx.importONNXNetwork (line 36)
In nnet.internal.cnn.onnx.importNetworkFromONNX (line 12)
In importNetworkFromONNX (line 77)
Warning: The ONNX file uses Opset version 16, while the highest fully-supported version is 14. The imported network may differ from the
ONNX network.
In nnet.internal.cnn.onnx.ModelTranslationIntoLayers>iValidateOpsetVersion (line 984)
In nnet.internal.cnn.onnx.ModelTranslationIntoLayers (line 219)
In nnet.internal.cnn.onnx.importONNXNetwork (line 38)
In nnet.internal.cnn.onnx.importNetworkFromONNX (line 12)
In importNetworkFromONNX (line 77)
Error using nnet.internal.cnn.onnx.fcn.NodeTranslation
ONNX operator set 16 is not supported.
Error in nnet.internal.cnn.onnx.fcn.NodeTranslation.create (line 58)
nodeTranslation = nnet.internal.cnn.onnx.fcn.NodeTranslation(opsetVersion, graphTranslation);
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello Everyone. I am facing the following issue when I try to import a ViT model in Matlab Ver 2023b.
net2 = importNetworkFromONNX("D:\vit_b_16_Opset16.onnx")
Warning: The ONNX file uses IR version 8, while the highest fully-supported IR is version 7.
Error in nnet.internal.cnn.onnx.fcn.NodeTranslation.create (line 58)
nodeTranslation = nnet.internal.cnn.onnx.fcn.NodeTranslation(opsetVersion, graphTranslation);
Error in nnet.internal.cnn.onnx.fcn.GraphTranslation (line 77)
this.NodeTranslations(i) = nnet.internal.cnn.onnx.fcn.NodeTranslation.create(graphProto.node(i), this.OpsetVersion, this.IntegerTensorNames, this);
Error in nnet.internal.cnn.onnx.fcn.ModelTranslation (line 37)
this.ToplevelGraphTranslation = nnet.internal.cnn.onnx.fcn.GraphTranslation(modelProto.graph, this.OpsetVersion, "");
Error in nnet.internal.cnn.onnx.CustomLayerManager/genCustomLayerFunction (line 499)
modelTranslation = nnet.internal.cnn.onnx.fcn.ModelTranslation(modelProto, modelFcnPath, modelFcnName, maxNameLength, true);
Error in nnet.internal.cnn.onnx.CustomLayerManager (line 77)
this.ModelTranslations(i) = genCustomLayerFunction(this, this.ModelProtos(i), nameStem);
Error in nnet.internal.cnn.onnx.ModelTranslationIntoLayers (line 234)
this.CustomLayerManager = nnet.internal.cnn.onnx.CustomLayerManager(this.GraphProtoManager, ...
Error in nnet.internal.cnn.onnx.importONNXNetwork (line 38)
modelTranslationIntoLayers = nnet.internal.cnn.onnx.ModelTranslationIntoLayers(modelProto, ...
Error in nnet.internal.cnn.onnx.importNetworkFromONNX (line 12)
Network = nnet.internal.cnn.onnx.importONNXNetwork(modelFolder, 'TargetNetwork', 'dlnetwork', ...
Error in importNetworkFromONNX (line 77)
Network = nnet.internal.cnn.onnx.importNetworkFromONNX(modelfile, varargin{:});
Beta Was this translation helpful? Give feedback.
All reactions