'trainingOptions' without 'trainNetwork' in deep learning
2 ビュー (過去 30 日間)
古いコメントを表示
options = trainingOptions("sgdm", Plots="training-progress")
sets training options. This setting works when training is implemented via:
net = trainNetwork(layers,options)
But if training is implemented via the following instead:
for epoch=1:MaxEpochs
...
[net,velocity] = sgdmupdate(net,grad,velocity);
...
end
does 'trainingOptions' still take effect without 'trainNetwork'?
0 件のコメント
採用された回答
Walter Roberson
2022 年 12 月 3 日
No. trainNetwork knows to use the options because you pass the options in. sgdmupdate does not permit you to pass in options so there is no way for it to know which option to use.
The options are not stored as part of the network.
2 件のコメント
Walter Roberson
2022 年 12 月 3 日
編集済み: Walter Roberson
2022 年 12 月 3 日
sgdmupdate and adamupdate do not have any named options.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Image Data Workflows についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!