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 commentaires

Catalytic
Catalytic le 18 Mar 2026 à 22:20
Why would anyone help you, when you have abandoned all your previous posts...
Chuguang Pan
Chuguang Pan le 19 Mar 2026 à 3:30
@Walid. You can increase the layers.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Deep Learning Toolbox dans Centre d'aide et File Exchange

Produits

Version

R2024a

Question posée :

le 18 Mar 2026 à 19:39

Commenté :

le 19 Mar 2026 à 3:30

Community Treasure Hunt

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

Start Hunting!

Translated by