From c604f2d9947413b75e5b35f6997458f1f8f89166 Mon Sep 17 00:00:00 2001
From: Joseph Redmon <pjreddie@gmail.com>
Date: Sun, 31 Jan 2016 23:52:03 +0000
Subject: [PATCH] ...

---
 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 ca32bc0..90b672b 100644
--- a/src/detection_layer.c
+++ b/src/detection_layer.c
@@ -50,7 +50,7 @@
             int index = b*l.inputs;
             for (i = 0; i < locations; ++i) {
                 int offset = i*l.classes;
-                softmax_array(l.output + index + offset, l.classes,
+                softmax_array(l.output + index + offset, l.classes, 1,
                         l.output + index + offset);
             }
             int offset = locations*l.classes;

--
Gitblit v1.10.0