Teacher forcing for a LSTM network
조회 수: 4 (최근 30일)
이전 댓글 표시
Is there a way to implement teacher forcing for a LSTM network in MATLAB? Hopefully there is an option buried somewhere.
댓글 수: 0
답변 (2개)
David Willingham
2022년 5월 24일
Hi Philip,
This example shows how teacher forcing can be implemented with LSTM's in MATLAB.Sequence-to-Sequence Translation Using Attention.
David Willingham
2022년 5월 24일
편집: David Willingham
2022년 5월 24일
Please see the attached example, trainLSTM_seq2seq. Is this what you were looking for? I.e. an example for a standard LSTM model?
댓글 수: 5
David Willingham
2022년 6월 7일
If your problem is a time-series problem then it possibly could. Have you tried adapting this example to meet your use case? If so, is it getting the result you expect?
참고 항목
카테고리
Help Center 및 File Exchange에서 Recognition, Object Detection, and Semantic Segmentation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!