Can I call the neural network trained in *. mat in Python through the matlab API?
7 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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');
0 comentarios
Respuestas (1)
David Willingham
el 16 de Nov. de 2022
There is a good example that shows how to call MATLAB from Python for deep learning on Github:
See the script CallMATLABFromPythonPyTorch.mlx
0 comentarios
Ver también
Categorías
Más información sobre Call Python from MATLAB en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!