Failure to export BiLSTM series network to ONNX
조회 수: 3 (최근 30일)
이전 댓글 표시
I have been trying to export a BiLSTM series network using the exportONNXNetwork function but keep getting the errors listed below. Does any one have any ideas how I can export a MATLAB trained BiLSTM deep network for use in other platforms?
Thanks
>> exportONNXNetwork(net,'Net.onnx');
Error using nnet.internal.cnn.onnx.exportONNXNetwork>iValidateNetwork (line 62)
First argument must be a SeriesNetwork, DAGNetwork, dlnetwork, or layerGraph.
Error in nnet.internal.cnn.onnx.exportONNXNetwork>iValidateInputs (line 53)
NNTNetwork = iValidateNetwork(NNTNetwork);
Error in nnet.internal.cnn.onnx.exportONNXNetwork (line 29)
[NNTNetwork, Filename, NetworkName, OpsetVersion] = iValidateInputs(NNTNetwork,
Filename, defaultOpset, varargin{:});
Error in exportONNXNetwork (line 40)
nnet.internal.cnn.onnx.exportONNXNetwork(Network, filename, varargin{:});
댓글 수: 0
답변 (1개)
Sivylla Paraskevopoulou
2022년 5월 9일
It seems that your network net is not one of the supported network or layer graph objects. For more information, see the net input argument of exportONNXNetwork function. You can use the analyzeNetwork function to detect errors and warnings in your network prior to exporting.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!