From 5e448c00f32e80e13eead72318047ce8368aac9a Mon Sep 17 00:00:00 2001
From: AlexeyAB <alexeyab84@gmail.com>
Date: Mon, 05 Mar 2018 16:59:29 +0000
Subject: [PATCH] Added Focal loss. Use focal_loss=1 in the [region] layer in your cfg-file. alpha = 0.5, gamma = 2
---
src/connected_layer.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/connected_layer.c b/src/connected_layer.c
index 2694229..b678ed0 100644
--- a/src/connected_layer.c
+++ b/src/connected_layer.c
@@ -100,7 +100,7 @@
}
#endif
l.activation = activation;
- fprintf(stderr, "Connected Layer: %d inputs, %d outputs\n", inputs, outputs);
+ fprintf(stderr, "connected %4d -> %4d\n", inputs, outputs);
return l;
}
--
Gitblit v1.10.0