Skip to content

Commit 450b183

Browse files
Fixing fashion MNIST and MNIST loading.
1 parent 0ecb1ef commit 450b183

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/DenseNetFashionMNIST/DenseNetFashionMNIST.lpr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ TTestCNNAlgo = class(TCustomApplication)
133133
WriteLn('Neural Network will minimize error with:');
134134
WriteLn(' Layers: ', NN.CountLayers());
135135
WriteLn(' Neurons:', NN.CountNeurons());
136-
WriteLn(' Weights:' ,NN.CountWeights());
136+
WriteLn(' Weights:', NN.CountWeights());
137137
NN.DebugWeights();
138138
NN.DebugStructure();
139139

neural/neuraldatasets.pas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ procedure loadMNISTDataset(ImgVolumes: TNNetVolumeList; fileName: string;
423423
ImgMagic, ImgItems, ImgRows, ImgCols: Integer;
424424
MNistImg: TMNistImage;
425425
ImgCnt: integer;
426-
LabelByte: integer;
426+
LabelByte: byte;
427427
Vol: TNNetVolume;
428428
Separator: char;
429429
begin

0 commit comments

Comments
 (0)