MATLAB Answers

Utilization of pretrained .mat CNN model

2 views (last 30 days)
Yingnan Qi
Yingnan Qi on 25 Nov 2020
Commented: Yingnan Qi on 10 Jan 2021
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.


Sign in to comment.

Answers (1)

Srivardhan Gadila
Srivardhan Gadila on 30 Nov 2020

  1 Comment

Yingnan Qi
Yingnan Qi on 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?

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!

Translated by