From 9207607a595fdf6c2e2cb01473b6e08f0746b8d3 Mon Sep 17 00:00:00 2001
From: iovodov <b@ovdv.ru>
Date: Sat, 21 Apr 2018 20:22:16 +0000
Subject: [PATCH] Fix issue #674: parameter "flip" is added to [net] parameters for classifier and detector
---
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