How can I deploy a trained LSTM net on simulink to classify new data?
조회 수: 2 (최근 30일)
이전 댓글 표시
Have tried gensim and genfunction, they do not work on sequence nets. I have tried using classify(net,x)inside a user defined matlab function. This seems a little more promising however it gives the error stating that- net is not defined in the matlab function- when I try to start the simulation even though the net structure is open in the matlab workspace. Any ideas on how to do/get around this? Im a bit new at this and time is a bit of a factor for my project any help would be appreciated.
댓글 수: 1
Muhammad Faisal Khalid
2021년 10월 16일
Hi.
did you find the solution of the above problem as i am also facing this at the moment.
답변 (1개)
Arkadiy Turevskiy
2021년 10월 18일
Hi,
We added a library of blocks to integrate deep learning networks into Simulink models starting with 20b. Support for LSTM and other recurrent networks was added in 21a.
To bring trained LSTM into a Simulink model, please use Stateful Classify block. In the block dialog specify .MAT file with your LSTM network.
HTH.
Arkadiy
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Deep Learning with Simulink에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!