run importONNXLayers on the PC without Deep Learning Toolbox Converter for ONNX Model Format

14 views (last 30 days)
I installed the Deep Learning Toolbox Converter for ONNX Model Format toolbox on my PC, I can run importONNXLayers on my PC.
Then I build a MATLAB executable .exe to run on another PC (Mathworks Matlab Runtime R2022a is installed) without Deep Learning Toolbox Converter for ONNX Model Format, the exe crash with the following information:
*ERROR: Undefined function 'importONNXLayers' ...
I want to know how to resolve this issue. Matlab experts please help me. Thanks.

Accepted Answer

Sivylla Paraskevopoulou
Sivylla Paraskevopoulou on 10 Apr 2023
Hi Bo,
You can deploy only the imported network using MATLAB Compiler. You cannot deploy import functions, such as importTensorFlowNetwork and importONNXNetwork. For more details, see Deploy Imported TensorFlow Model with MATLAB Compiler.
  5 Comments
Sivylla Paraskevopoulou
Sivylla Paraskevopoulou on 14 Apr 2023
A standalone executable you create with MATLAB Compiler is independent of MATLAB, so you should be able to run it even if you don't have MATLAB desktop installed.

Sign in to comment.

More Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Tags

Products


Release

R2022a

Community Treasure Hunt

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

Start Hunting!