We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4e6c90 commit 8b67948Copy full SHA for 8b67948
mnist.c
@@ -36,7 +36,7 @@
36
37
static int threads = -1;
38
static int batch_size = 32;
39
-static int epoch_count = 15;
+static int epoch_count = 5;
40
static int export_onnx = 0;
41
42
//----------------------------------
@@ -216,8 +216,8 @@ int main(int argc, char *argv[])
216
217
// define our network - deeper architecture with ReLU for better accuracy
218
ann_add_layer(pnet, 784, LAYER_INPUT, ACTIVATION_NULL);
219
- ann_add_layer(pnet, 128, LAYER_HIDDEN, ACTIVATION_RELU);
220
ann_add_layer(pnet, 64, LAYER_HIDDEN, ACTIVATION_RELU);
+ // ann_add_layer(pnet, 64, LAYER_HIDDEN, ACTIVATION_RELU);
221
ann_add_layer(pnet, 10, LAYER_OUTPUT, ACTIVATION_SOFTMAX);
222
223
real *data = NULL, *test_data = NULL;
0 commit comments