From c52fa4742866125e35e88d0653dac99473e5fffb Mon Sep 17 00:00:00 2001
From: AlexeyAB <alexeyab84@gmail.com>
Date: Mon, 16 Apr 2018 10:09:10 +0000
Subject: [PATCH] Loss-graph store automatically (iterations == max_batches) at the end of training
---
src/demo.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/demo.c b/src/demo.c
index 65f451f..4aee54f 100644
--- a/src/demo.c
+++ b/src/demo.c
@@ -144,11 +144,11 @@
demo_classes = classes;
demo_thresh = thresh;
printf("Demo\n");
- net = parse_network_cfg_custom(cfgfile, 1);
+ net = parse_network_cfg_custom(cfgfile, 1); // set batch=1
if(weightfile){
load_weights(&net, weightfile);
}
- set_batch_network(&net, 1);
+ //set_batch_network(&net, 1);
fuse_conv_batchnorm(net);
srand(2222222);
--
Gitblit v1.10.0