Info
この質問は閉じられています。 編集または回答するには再度開いてください。
training deep network accuary goes to 0 ?
1 回表示 (過去 30 日間)
古いコメントを表示
hi i train lstm network and receive bad accuracy during the train what parameters i can change, layers to add
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/191139/image.jpeg)
i have lstm network
numHiddenUnits = 100;
numClasses = 2;
layers = [ ...
sequenceInputLayer(inputSize)
lstmLayer(numHiddenUnits,'OutputMode','sequence')
fullyConnectedLayer(numClasses)
softmaxLayer
classificationLayer];
maxEpochs = 3;
miniBatchSize = 200;%100;
options = trainingOptions('adam', ...
'ExecutionEnvironment','cpu', ...
'GradientThreshold',1, ...
'MaxEpochs',maxEpochs, ...
'MiniBatchSize',miniBatchSize, ...
'SequenceLength','longest', ...
'Shuffle','never', ...
'Verbose',0, ...
'Plots','training-progress');
0 件のコメント
回答 (0 件)
この質問は閉じられています。
参考
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!