Skip to content

Commit 9da836b

Browse files
Minor simple image classifier bugfix.
1 parent 445056b commit 9da836b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/SimpleImageClassifier/SimpleImageClassifier.lpr

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ TTestCNNAlgo = class(TCustomApplication)
3030
NN := THistoricalNets.Create();
3131
NN.AddLayer([
3232
TNNetInput.Create(32, 32, 3),
33-
TNNetConvolutionLinear.Create(64, 5, 2, 1, 1).InitBasicPatterns(),
33+
TNNetConvolutionLinear.Create(64, 5, 2, 1, 1),
3434
TNNetMaxPool.Create(4),
3535
TNNetMovingStdNormalization.Create(),
3636
TNNetConvolutionReLU.Create(64, 3, 1, 1, 1),
@@ -42,6 +42,7 @@ TTestCNNAlgo = class(TCustomApplication)
4242
TNNetFullConnectLinear.Create(10),
4343
TNNetSoftMax.Create()
4444
]);
45+
NN.DebugStructure();
4546
CreateCifar10Volumes(ImgTrainingVolumes, ImgValidationVolumes, ImgTestVolumes);
4647

4748
NeuralFit := TNeuralImageFit.Create;

0 commit comments

Comments
 (0)