adam solver under windows

7 次查看(过去 30 天)
Mike Hammond
Mike Hammond 2018-4-13
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');

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by