필터 지우기
필터 지우기

'CheckpointFrequency' is not an option for solver 'sgdm'.

조회 수: 4 (최근 30일)
neal paze
neal paze 2022년 4월 9일
답변: Walter Roberson 2022년 4월 10일
checkpointPath = pwd;
Frequency=5;
options = trainingOptions('sgdm', ...
'InitialLearnRate',0.1, ...
'MaxEpochs',20, ...
'Verbose',false, ...
'Plots','training-progress', ...
'Shuffle','every-epoch', ...
'CheckpointPath',checkpointPath,...
'CheckpointFrequency',Frequency,...
'CheckpointFrequencyUnit','epoch');
net1 = trainNetwork(XTrain,YTrain,layers,options);
I can not set CheckpointFrequency.
Error using nnet.cnn.TrainingOptionsSGDM (line 117)
'CheckpointFrequency' is not an option for solver 'sgdm'.
Error in trainingOptions (line 315)
opts = nnet.cnn.TrainingOptionsSGDM(varargin{:});
Error in code_1 (line 28)
options = trainingOptions('sgdm', ...
  댓글 수: 2
Walter Roberson
Walter Roberson 2022년 4월 9일
Which MATLAB version are you using?
neal paze
neal paze 2022년 4월 9일
편집: neal paze 2022년 4월 9일
My pc is 2021a and server is 2020a,I want to apply it to my server

댓글을 달려면 로그인하십시오.

채택된 답변

Walter Roberson
Walter Roberson 2022년 4월 10일
CheckpointFrequency was added as an option in R2022a.
You should be checking the documentation related to your release, https://www.mathworks.com/help/releases/R2020a/deeplearning/ref/trainingoptions.html

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Parallel and Cloud에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by