From 1a53f268ac56e921d702a6bbafcbd3d0037286e4 Mon Sep 17 00:00:00 2001
From: Joseph Redmon <pjreddie@gmail.com>
Date: Sat, 13 Jun 2015 05:42:07 +0000
Subject: [PATCH] turn off gpu and opencv

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

diff --git a/src/parser.c b/src/parser.c
index 240c6ee..2caf96e 100644
--- a/src/parser.c
+++ b/src/parser.c
@@ -167,7 +167,7 @@
     int rescore = option_find_int(options, "rescore", 0);
     int joint = option_find_int(options, "joint", 0);
     int objectness = option_find_int(options, "objectness", 0);
-    int background = option_find_int(options, "background", 1);
+    int background = option_find_int(options, "background", 0);
     detection_layer layer = make_detection_layer(params.batch, params.inputs, classes, coords, joint, rescore, background, objectness);
     option_unused(options);
     return layer;

--
Gitblit v1.10.0