adam solver under windows

10 visualizzazioni (ultimi 30 giorni)
Mike Hammond
Mike Hammond il 13 Apr 2018
I've been teaching neural nets in a class and had a neural net demo that used the 'adam' solver. This works fine under mac and matlab online, but wouldn't run for the students in the class using windows. Is this a known bug?
My workaround was to switch to 'sgdm', which worked for everybody (though was not the solver I wanted).
Relevant bit below.
thank you,
mike h
options = trainingOptions('adam', ...
'ExecutionEnvironment','cpu', ...
'MaxEpochs',maxEpochs, ...
'MiniBatchSize',miniBatchSize, ...
'SequenceLength','longest', ...
'Shuffle','never', ...
'Verbose',0, ...
'Plots','training-progress');

Risposte (0)

Categorie

Scopri di più su Startup and Shutdown in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by