From baf3fcb491ee1a5e083fbdfdf2c28aaf36488e92 Mon Sep 17 00:00:00 2001
From: AlexeyAB <alexeyab84@gmail.com>
Date: Fri, 16 Feb 2018 23:26:08 +0000
Subject: [PATCH] Calculation TP, FP, FN, avg_IoU for default threshold during mAP calculation

---
 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