From 9ac78d8b84f6a059d2cefe22a10aa60de5b3feaf Mon Sep 17 00:00:00 2001
From: AlexeyAB <alexeyab84@gmail.com>
Date: Thu, 04 Jan 2018 21:58:52 +0000
Subject: [PATCH] Fine tuning, use stopbackward=1 in the cfg-file in that layer where Backward should be stopped.

---
 src/demo.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/demo.c b/src/demo.c
index c88c1d9..eece00a 100644
--- a/src/demo.c
+++ b/src/demo.c
@@ -125,7 +125,7 @@
     demo_classes = classes;
     demo_thresh = thresh;
     printf("Demo\n");
-    net = parse_network_cfg(cfgfile);
+    net = parse_network_cfg_custom(cfgfile, 1);
     if(weightfile){
         load_weights(&net, weightfile);
     }

--
Gitblit v1.10.0