From 8f1f5cbf8321b6b313d8f455d596290e7b8bb3f7 Mon Sep 17 00:00:00 2001
From: AlexeyAB <alexeyab84@gmail.com>
Date: Sat, 24 Mar 2018 20:35:05 +0000
Subject: [PATCH] 3.5x times accelerated data augmentation using OpenCV for training Yolo on DGX and multi-GPU
---
src/detection_layer.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/detection_layer.c b/src/detection_layer.c
index 6ee7f64..fd5a419 100644
--- a/src/detection_layer.c
+++ b/src/detection_layer.c
@@ -58,8 +58,8 @@
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,
- l.output + index + offset);
+ softmax(l.output + index + offset, l.classes, 1,
+ l.output + index + offset, 1);
}
}
}
--
Gitblit v1.10.0