From 08c7cf9c88befd845f00c00d85e40a9eead4b1b3 Mon Sep 17 00:00:00 2001
From: Joseph Redmon <pjreddie@gmail.com>
Date: Sun, 19 Jun 2016 21:28:15 +0000
Subject: [PATCH] no mean on input binarization
---
src/detection_layer.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/detection_layer.c b/src/detection_layer.c
index f7019ef..1b0f126 100644
--- a/src/detection_layer.c
+++ b/src/detection_layer.c
@@ -133,9 +133,11 @@
best_index = 0;
}
}
+ /*
if(1 && *(state.net.seen) < 100000){
best_index = rand()%l.n;
}
+ */
int box_index = index + locations*(l.classes + l.n) + (i*l.n + best_index) * l.coords;
int tbox_index = truth_index + 1 + l.classes;
--
Gitblit v1.10.0