Utilization of pretrained .mat CNN model

7 vues (au cours des 30 derniers jours)
Yingnan Qi
Yingnan Qi le 25 Nov 2020
I have recently trained a CNN model to recognize some objects, is there anyways I can import this .mat file to python environment and utilize the trained data in there and classify objects in a python environment?
In specific, I trained a model on MATLAB, now I wanted to use it in a python program. Essentially, I want a python program to import this .mat file and use the content in the file and classify images base of the pretrained information in there.

Réponses (1)

Srivardhan Gadila
Srivardhan Gadila le 30 Nov 2020
  2 commentaires
Yingnan Qi
Yingnan Qi le 10 Jan 2021
Thank you for the response. As I have went through the pages suggested, I have realized that importing an existing network from various other source into MATLAB is easy, however exporting option is available only for ONNX models. My concern here is that if we originally created a network in MATLAB, does it means that I will only be able to work with exported ONNX model? Is there anymore options?
I have completed training of a model, I would wish this model could be used with a processor that can run MATLAB codes, and could take measurement readings from sensors, then make decisions and judgements of the situation.
Could you explain a little more on this matter?
Srivardhan Gadila
Srivardhan Gadila le 6 Avr 2021
Currently you can export the network to ONNX only. The ONNX model can then be converted to other frameworks based on the available support.
You can refer to Deep Learning HDL Toolbox for latter part.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Image Data Workflows dans Help Center et File Exchange

Produits


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by