Workaround to export NN for ONNX?

1 view (last 30 days)
Wookie
Wookie on 23 Mar 2022
Answered: Wookie on 24 Mar 2022
Hi!
After success with my network, I'd like to export it with ONNX but soon came to the error of
Error using nnet.internal.cnn.onnx.exportONNXNetwork>iValidateNetwork (line 46)
First argument must be a SeriesNetwork, DAGNetwork, dlnetwork, or layerGraph.
I attached the net.
Is there a workaround to exporting the model for deployment or to be used by another language?

Accepted Answer

Wookie
Wookie on 24 Mar 2022
Just used getFunction and Coder to generate a C++ model. I could not get the Onnx to work and does not seem to work for several who have tried before me.

More Answers (0)

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!