From 132251d72325e1005ef6c47f83d6a4e9b9355d12 Mon Sep 17 00:00:00 2001
From: AlexeyAB <alexeyab84@gmail.com>
Date: Sun, 03 Jun 2018 21:37:08 +0000
Subject: [PATCH] You can do: fuse_conv_batchnorm(network net) from DLL/SO-library

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