From 1edcf73a73d2007afc61289245763f5cf0c29e10 Mon Sep 17 00:00:00 2001
From: Joseph Redmon <pjreddie@gmail.com>
Date: Thu, 04 Dec 2014 07:20:29 +0000
Subject: [PATCH] Detection good, split up col images
---
src/cost_layer.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/cost_layer.c b/src/cost_layer.c
index 6614b94..08d3bb5 100644
--- a/src/cost_layer.c
+++ b/src/cost_layer.c
@@ -52,6 +52,7 @@
}
}
*(layer.output) = dot_cpu(layer.batch*layer.inputs, layer.delta, 1, layer.delta, 1);
+ //printf("cost: %f\n", *layer.output);
}
void backward_cost_layer(const cost_layer layer, float *input, float *delta)
@@ -105,7 +106,7 @@
cl_read_array(layer.delta_cl, layer.delta, layer.batch*layer.inputs);
*(layer.output) = dot_cpu(layer.batch*layer.inputs, layer.delta, 1, layer.delta, 1);
- //printf("%f\n", *layer.output);
+ //printf("cost: %f\n", *layer.output);
}
void backward_cost_layer_gpu(const cost_layer layer, cl_mem input, cl_mem delta)
--
Gitblit v1.10.0