From 37d02d0538f5dfb7189eeb2878da0b60f5785d5b Mon Sep 17 00:00:00 2001
From: Joseph Redmon <pjreddie@gmail.com>
Date: Mon, 21 Nov 2016 17:12:58 +0000
Subject: [PATCH] less memory
---
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 6ee7f64..cd98b4b 100644
--- a/src/detection_layer.c
+++ b/src/detection_layer.c
@@ -58,7 +58,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, 1,
+ softmax(l.output + index + offset, l.classes, 1,
l.output + index + offset);
}
}
--
Gitblit v1.10.0