フィルターのクリア

Error when exporting trained deep neural network to onnx format

3 ビュー (過去 30 日間)
Sehairi K.
Sehairi K. 2021 年 9 月 13 日
回答済み: Sehairi K. 2021 年 10 月 6 日
Hello
Iam encoutring this error when trying to export a deep neural network to onnx
could you please help me resolve this issue
net = squeezenet
filename = 'squeezenet.onnx';
exportONNXNetwork(net,filename)
the error
Error using onnxmex
Opening file 'squeezenet.onnx' failed.
Error in nnet.internal.cnn.onnx.ModelProto/writeToFile (line 58)
onnxmex(int32(FuncName.EserializeToFile), ModelPtr, filename);
Error in nnet.internal.cnn.onnx.exportONNXNetwork (line 38)
writeToFile(modelProto, Filename);
Error in exportONNXNetwork (line 38)
nnet.internal.cnn.onnx.exportONNXNetwork(Network, filename, varargin{:});
Thanks in advance

採用された回答

Sehairi K.
Sehairi K. 2021 年 10 月 6 日
Hello
just if someone has the same error. The solution is so simple you have to copy the mat file to working directory and make sure that this working directory is the active one in Matlab command.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeImage Data Workflows についてさらに検索

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by