Effacer les filtres
Effacer les filtres

Can I call the neural network trained in *. mat in Python through the matlab API?

9 vues (au cours des 30 derniers jours)
slevin Lee
slevin Lee le 16 Nov 2022
There is a trained neural network in my demo.mat
How can I call through matlab API in python
In the end, I just need to run the following code in Python and get the YPred value
[net,YPred] = predictAndUpdateState(net,xtrain,'ExecutionEnvironment','cpu');

Réponses (1)

David Willingham
David Willingham le 16 Nov 2022
There is a good example that shows how to call MATLAB from Python for deep learning on Github:


En savoir plus sur Call Python from MATLAB dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by