From d572dc7e667a0e3e95be3f3e72fd6d395e69da6b Mon Sep 17 00:00:00 2001
From: Joseph Redmon <pjreddie@gmail.com>
Date: Sat, 13 Jun 2015 05:25:18 +0000
Subject: [PATCH] inet label script

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

diff --git a/src/detection_layer.c b/src/detection_layer.c
index c628f18..3ab793a 100644
--- a/src/detection_layer.c
+++ b/src/detection_layer.c
@@ -29,10 +29,10 @@
     l.coords = coords;
     l.rescore = rescore;
     l.objectness = objectness;
+    l.background = background;
     l.joint = joint;
     l.cost = calloc(1, sizeof(float));
     l.does_cost=1;
-    l.background = background;
     int outputs = get_detection_layer_output_size(l);
     l.outputs = outputs;
     l.output = calloc(batch*outputs, sizeof(float));

--
Gitblit v1.10.0