From e63b3a6f912cc2b1f6f00f2a9d342624a06dc3a4 Mon Sep 17 00:00:00 2001
From: Joseph Redmon <pjreddie@gmail.com>
Date: Tue, 09 Jun 2015 18:17:46 +0000
Subject: [PATCH] syncing messed something up
---
src/detection_layer.c | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/src/detection_layer.c b/src/detection_layer.c
index ae5930f..fcae7f3 100644
--- a/src/detection_layer.c
+++ b/src/detection_layer.c
@@ -372,15 +372,12 @@
l.delta[j+1] = 4 * (state.truth[j+1] - l.output[j+1]);
l.delta[j+2] = 4 * (state.truth[j+2] - l.output[j+2]);
l.delta[j+3] = 4 * (state.truth[j+3] - l.output[j+3]);
- if(1){
+ if(0){
for (j = offset; j < offset+classes; ++j) {
if(state.truth[j]) state.truth[j] = iou;
l.delta[j] = state.truth[j] - l.output[j];
}
}
-
- /*
- */
}
printf("Avg IOU: %f\n", avg_iou/count);
}
--
Gitblit v1.10.0