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

---
 cfg/darknet.cfg |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/cfg/darknet.cfg b/cfg/darknet.cfg
index 7c0d28a..60b939a 100644
--- a/cfg/darknet.cfg
+++ b/cfg/darknet.cfg
@@ -84,6 +84,7 @@
 [maxpool]
 size=2
 stride=2
+padding=1
 
 [convolutional]
 batch_normalize=1

--
Gitblit v1.10.0