From a1af57d8d60b50e8188f36b7f74752c8cc124177 Mon Sep 17 00:00:00 2001
From: AlexeyAB <alexeyab84@gmail.com>
Date: Thu, 15 Feb 2018 12:43:25 +0000
Subject: [PATCH] Added C implementation of calculation mAP (mean average precision) using Darknet
---
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