From 7359843a4b0ed053aaa4cb5cc4337e821e83a1a1 Mon Sep 17 00:00:00 2001
From: AlexeyAB <alexeyab84@gmail.com>
Date: Sun, 03 Jun 2018 20:03:16 +0000
Subject: [PATCH] Store wrong annotations to the file: bad_labels.list

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

diff --git a/src/detector.c b/src/detector.c
index 202fbf9..fc78102 100644
--- a/src/detector.c
+++ b/src/detector.c
@@ -106,7 +106,7 @@
     args.hue = net.hue;
 
 #ifdef OPENCV
-	args.threads = 3;
+	args.threads = 3 * ngpus;
 	IplImage* img = NULL;
 	float max_img_loss = 5;
 	int number_of_lines = 100;

--
Gitblit v1.10.0