Same training results for each epoch using LSTM sequence to sequence

1 回表示 (過去 30 日間)
Ismaeel
Ismaeel 2022 年 12 月 29 日
編集済み: Ismaeel 2022 年 12 月 29 日
Dear all,
I am following the example given in:
using different data but similar in structure to the one in the example.
The problem is when I train the data, the results for each epoch look the same (please see the picture attached).
I use the following setting options for training:
maxEpochs = 20;
miniBatchSize = 20;
options = trainingOptions('adam', ...
'MaxEpochs',maxEpochs, ...
'MiniBatchSize',miniBatchSize, ...
'InitialLearnRate',0.01, ...
'GradientThreshold',1, ...
'Shuffle','never', ...
'Plots','training-progress',...
'Verbose',0);
I use a single LSTM layer with 128 hidden units working on MATLAB R2022b.
Any advise or idea is really appreciated.
Thanks

回答 (0 件)

カテゴリ

Help Center および File ExchangeImage Data Workflows についてさらに検索

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by