From 0df9d25c46e39fa5f532c023261784fdcdd5d25d Mon Sep 17 00:00:00 2001
From: Joseph Redmon <pjreddie@gmail.com>
Date: Thu, 11 Jun 2015 22:51:17 +0000
Subject: [PATCH] new cfg files for classification
---
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