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

조회 수: 9 (최근 30일)
slevin Lee
slevin Lee 2022년 11월 16일
답변: David Willingham 2022년 11월 16일
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');

답변 (1개)

David Willingham
David Willingham 2022년 11월 16일
There is a good example that shows how to call MATLAB from Python for deep learning on Github:

카테고리

Help CenterFile Exchange에서 Call Python from MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by