Skip to content

Commit

Permalink
Updating ResNet20 example.
Browse files Browse the repository at this point in the history
  • Loading branch information
joaopauloschuler committed Dec 20, 2022
1 parent 89464c1 commit 1afaa01
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/ResNet/CaiResNet20.lpr
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ procedure CaiOptimizedResnetUnit(pNN: TNNet; pNeurons: integer);
NeuralFit.LearningRateDecay := 0.01;
NeuralFit.StaircaseEpochs := 10;
NeuralFit.Inertia := 0.9;
NeuralFit.L2Decay := 0.00001;
NeuralFit.L2Decay := 0.0;
NeuralFit.Fit(NN, ImgTrainingVolumes, ImgValidationVolumes, ImgTestVolumes, {NumClasses=}10, {batchsize=}32, {epochs=}50);
NeuralFit.Free;
ReadLn();
Expand Down
2 changes: 1 addition & 1 deletion examples/ResNet/ResNet20.lpr
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ TTestCNNAlgo = class(TCustomApplication)
NeuralFit.LearningRateDecay := 0.01;
NeuralFit.StaircaseEpochs := 10;
NeuralFit.Inertia := 0.9;
NeuralFit.L2Decay := 0.00001;
NeuralFit.L2Decay := 0.0;
//NeuralFit.MaxThreadNum := 1;
NeuralFit.Fit(NN, ImgTrainingVolumes, ImgValidationVolumes, ImgTestVolumes, {NumClasses=}10, {batchsize=}32, {epochs=}50);
NeuralFit.Free;
Expand Down

0 comments on commit 1afaa01

Please sign in to comment.