From e7072b8489da7347561a47be849f401c8a0a2abd Mon Sep 17 00:00:00 2001
From: Joseph Redmon <pjreddie@gmail.com>
Date: Mon, 20 Jun 2016 20:18:59 +0000
Subject: [PATCH] checkpoint
---
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