From 3a99b8151f6a002353691b1254b395eb52effefa Mon Sep 17 00:00:00 2001
From: Joseph Redmon <pjreddie@gmail.com>
Date: Mon, 17 Aug 2015 17:25:43 +0000
Subject: [PATCH] Fair comparison
---
src/detection_layer.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/detection_layer.c b/src/detection_layer.c
index 6a25819..e48b8b3 100644
--- a/src/detection_layer.c
+++ b/src/detection_layer.c
@@ -204,6 +204,7 @@
backward_detection_layer(l, cpu_state);
cuda_push_array(state.delta, delta_cpu, l.batch*l.inputs);
+ if (truth_cpu) free(truth_cpu);
free(in_cpu);
free(delta_cpu);
}
--
Gitblit v1.10.0