Monitor Deep Learning Training Progress

조회 수: 11 (최근 30일)
Zhangyu Huang
Zhangyu Huang 2021년 2월 8일
답변: Rohit Pappu 2021년 2월 10일
In MATLAB R2020b, when I use trainingOptions to set up network, MATLAB cannot create a figure of training progress.
By the way, I specify 'Plots' to 'Training-Progress', but it doesn't show the figure like the below.
I never see this kind of figure during training progress.
So what is the problem? Is it a bug?

채택된 답변

Rohit Pappu
Rohit Pappu 2021년 2월 10일
I tried reproducing the above issue using an example provided in the documentation -
digitDatasetPath = fullfile(matlabroot,'toolbox','nnet','nndemos','nndatasets','DigitDataset');
imds = imageDatastore(digitDatasetPath, 'IncludeSubfolders',true,'LabelSource','foldernames');
numTrainFiles = 750;
[imdsTrain,imdsValidation] = splitEachLabel(imds,numTrainFiles,'randomize');
inputSize = [28 28 1];
numClasses = 10;
layers = [
imageInputLayer(inputSize)
convolution2dLayer(5,20)
batchNormalizationLayer
reluLayer
fullyConnectedLayer(numClasses)
softmaxLayer
classificationLayer];
options = trainingOptions('sgdm', ...
'MaxEpochs',4, ...
'ValidationData',imdsValidation, ...
'ValidationFrequency',30, ...
'Verbose',false, ...
'Plots','training-progress');
net = trainNetwork(imdsTrain,layers,options);
I was able to view the training progress
Please crosscheck the spellings of Name Value pairs in trainingOptions

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Sequence and Numeric Feature Data Workflows에 대해 자세히 알아보기

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by