'ValidationData' is not a recognized parameter. For a list of valid name-value pair arguments, see the documentation for this function.

조회 수: 26 (최근 30일)
Hi, Please help me to solve this problem.
I am trying to specify training options for CNN. In the moment of 'ValidationData' I am getting error. Traing options:
options = trainingOptions('sgdm', ...
'MaxEpochs',4, ...
'ValidationData',imdsValidation, ...
'ValidationFrequency',30, ...
'Verbose',false, ...
'Plots','training-progress');
Error:
Error using nnet.cnn.TrainingOptionsSGDM.parseInputArguments (line 176)
'ValidationData' is not a recognized parameter. For a list of valid name-value pair arguments, see the
documentation for this function.
Error in trainingOptions (line 144)
args = nnet.cnn.TrainingOptionsSGDM.parseInputArguments(varargin{:});
Error in CNN_mysample (line 59)
options = trainingOptions('sgdm', ...
In decription I found a note that says to "The validation data is not used to update the network weights. Turn on the training progress plot, and turn off the command window output." How can I turn off the command window output? Thank you all.
  댓글 수: 3
xiaowen ma
xiaowen ma 2020년 4월 29일
Excuse me, can you tell me how to solve this problem now?I am using matlab 2019,

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

답변 (1개)

Sean de Wolski
Sean de Wolski 2018년 7월 23일
It looks like it was added in 17b; release notes. If you're doing deep learning in MATLAB, it makes sense to upgrade if at all possible(!)

카테고리

Help CenterFile Exchange에서 Get Started with Statistics and Machine Learning Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by