adam solver under windows

7 views (last 30 days)
Mike Hammond
Mike Hammond on 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');

Answers (0)

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!