Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

training deep network accuary goes to 0 ?

1 visualizzazione (ultimi 30 giorni)
michael scheinfeild
michael scheinfeild il 9 Giu 2018
Chiuso: MATLAB Answer Bot il 20 Ago 2021
hi i train lstm network and receive bad accuracy during the train what parameters i can change, layers to add
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');

Risposte (0)

Questa domanda è chiusa.

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by