From 11c72b1132feca7c1252ea01d02da4cb497e723f Mon Sep 17 00:00:00 2001
From: Joseph Redmon <pjreddie@gmail.com>
Date: Thu, 11 Jun 2015 22:38:58 +0000
Subject: [PATCH] testing on one image
---
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