フィルターのクリア

Standalone app with exportONNXNetwork does not work

2 ビュー (過去 30 日間)
patmen346
patmen346 2023 年 3 月 9 日
コメント済み: patmen346 2023 年 3 月 15 日
Hi,
I simply want to save my trained model to an ONNX file with my standalone app, but it gives the following error:
Unable to resolve the name 'matlabshared.supportpkg.internal.getSupportPackageRootNoCreate'.
Error in matlabshared.supportpkg.getSupportPackageRoot
Error in nnet.internal.cnn.onnx.util.addSpkgBinPath (line 8)
Error in nnet.internal.cnn.onnx.OperatorSetIdProto (line 13)
Error in nnet.internal.cnn.onnx.ConverterForNetwork/toOnnx (line 33)
Error in nnet.internal.cnn.onnx.exportONNXNetwork (line 17)
Error in exportONNXNetwork (line 41)
Error in convert2ONNX (line 6)
I already tried to add the direcory in mcc manually with:
-a C:\ProgramData\MATLAB\SupportPackages\R2019b\toolbox\nnet\supportpackages\onnx -a C:\ProgramData\MATLAB\SupportPackages\R2019b\resources\nnet_cnn_onnx
Hopefully, anybody can help me :)

回答 (1 件)

HimeshNayak
HimeshNayak 2023 年 3 月 15 日
Hi
As per my understanding, you are getting an error while saving the trained model to an ONNX file with your standalone app.
As of now saving a trained model to an ONNX file is not supported for a standalone application.
Regards
HimeshNayak
  1 件のコメント
patmen346
patmen346 2023 年 3 月 15 日
Hi,
actually this issue also consists if I use importONNXNetwork. It seems to be worked once by this post: https://de.mathworks.com/matlabcentral/answers/500806-how-can-i-use-importonnxnetwork-function-on-a-production-machine-which-only-has-mcr-installed

サインインしてコメントする。

カテゴリ

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

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by