how improove a deep network for image classification

i used a simple network that gives an accuracy =0.35, I tried to increase the max iteration without improovement.:
numClasses = 5;
layers = [
imageInputLayer(inputSize)
convolution2dLayer(3,10)
batchNormalizationLayer
reluLayer
maxPooling2dLayer(2,'Stride',2)
fullyConnectedLayer(numClasses)
softmaxLayer];
%%%%%%
options = trainingOptions("sgdm", ...
'InitialLearnRate', 0.001, ...
'MaxEpochs', 4, ... % Increase this value to increase total iterations
'MiniBatchSize', 32, ...
ValidationData=imdsValidation, ...
ValidationFrequency=30, ...
Plots="training-progress", ...
Metrics="accuracy", ...
Verbose=false);

댓글 수: 2

Why would anyone help you, when you have abandoned all your previous posts...
@Walid. You can increase the layers.

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

답변 (0개)

카테고리

도움말 센터File Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

제품

릴리스

R2024a

질문:

대략 17시간 전

댓글:

대략 9시간 전

Community Treasure Hunt

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

Start Hunting!

Translated by