'trainingOptions' without 'trainNetwork' in deep learning
조회 수: 4 (최근 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!