Simulink的stateful predict调用bilstm模型进行预测时,与M文件里的结果差别很大。
조회 수: 4 (최근 30일)
이전 댓글 표시
Simulink的stateful predict调用bilstm模型的mat文件进行预测时,与M文件里的结果差别很大。但是,再用lstm时就不会有差别
댓글 수: 0
답변 (1개)
Shivansh
2023년 10월 6일
Hi Ze,
I understand that you are getting different results with the Simulink's stateful predict and the .M file when using a BILSTM model. The differences in the results can’t be there in an ideal case.
On the other hand, LSTM models may not show the same discrepancy because they only process input sequences in one direction. This observation leaves the problem with data sequencing and state management in the backward direction. You might find the issue in the model if you look in this direction.
If the problem persists, provide the source code and environment information for the better understanding of the underlying problem.
For more information on LSTM, you can refer to the MATLAB documentation here https://www.mathworks.com/help/deeplearning/ref/dlarray.lstm.html?s_tid=doc_ta.
For more information on BILSTM, you can refer to the MATLAB documentation here https://www.mathworks.com/help/deeplearning/ref/nnet.cnn.layer.bilstmlayer.html?searchHighlight=bilstm&s_tid=srchtitle_support_results_1_bilstm.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!