How do I export a neural network from MATLAB?
Afficher commentaires plus anciens
I have a neural network which I trained using MATLAB. I want to export the network so I can use it with other frameworks, for example PyTorch. How do I do that?
Réponse acceptée
Plus de réponses (2)
Maria Duarte Rosa
le 25 Juin 2018
Modifié(e) : Jon Cherrie
le 21 Déc 2023
2 votes
The exportONNXNetwork function in Deep Learning Toolbox Converter for ONNX Model Format allows one to export a trained deep learning network to the ONNX™ (Open Neural Network Exchange) model format. The ONNX model can then be imported into other deep learning frameworks that support ONNX model import.
To use the network with TensorFlow, use the exportNetworkToTensorFlow function that is part of the Deep Learning Toolbox Converter for TensorFlow Models.
1 commentaire
michael scheinfeild
le 6 Août 2018
still i have no success to import it to c++ from onnx there are many issues of compilation
michael scheinfeild
le 14 Avr 2019
0 votes
after testing onnx i found that the output of convolutions is not the same as in matlab .
Catégories
En savoir plus sur Deep Learning Toolbox dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!