Can I call the neural network trained in *. mat in Python through the matlab API?
조회 수: 7 (최근 30일)
이전 댓글 표시
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
답변 (1개)
David Willingham
2022년 11월 16일
There is a good example that shows how to call MATLAB from Python for deep learning on Github:
See the script CallMATLABFromPythonPyTorch.mlx
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Call Python from MATLAB에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!