From 9db618329a1a4786ead73fab29d46dbb7fb58430 Mon Sep 17 00:00:00 2001
From: Joseph Redmon <pjreddie@gmail.com>
Date: Mon, 20 Jul 2015 21:56:53 +0000
Subject: [PATCH] changes to detection

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

diff --git a/src/parser.c b/src/parser.c
index 9670715..2a82ee7 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", 0);
+    int background = 0;
     detection_layer layer = make_detection_layer(params.batch, params.inputs, classes, coords, joint, rescore, background, objectness);
     return layer;
 }
@@ -295,7 +295,6 @@
     net->learning_rate = option_find_float(options, "learning_rate", .001);
     net->momentum = option_find_float(options, "momentum", .9);
     net->decay = option_find_float(options, "decay", .0001);
-    net->seen = option_find_int(options, "seen",0);
     int subdivs = option_find_int(options, "subdivisions",1);
     net->batch /= subdivs;
     net->subdivisions = subdivs;

--
Gitblit v1.10.0