From 92b25a72006a77073ee99dc69557ce0cde01cc3c Mon Sep 17 00:00:00 2001
From: iovodov <b@ovdv.ru>
Date: Thu, 03 May 2018 09:43:48 +0000
Subject: [PATCH] FIX #736: Detector does not draw rects for images with small resolutions

---
 cfg/darknet.cfg |   14 +++++++++-----
 1 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/cfg/darknet.cfg b/cfg/darknet.cfg
index ff0d33e..60b939a 100644
--- a/cfg/darknet.cfg
+++ b/cfg/darknet.cfg
@@ -11,7 +11,7 @@
 learning_rate=0.1
 policy=poly
 power=4
-max_batches=500000
+max_batches=1600000
 
 [convolutional]
 batch_normalize=1
@@ -84,6 +84,7 @@
 [maxpool]
 size=2
 stride=2
+padding=1
 
 [convolutional]
 batch_normalize=1
@@ -93,12 +94,15 @@
 pad=1
 activation=leaky
 
-[avgpool]
-
-[connected]
-output=1000
+[convolutional]
+filters=1000
+size=1
+stride=1
+pad=1
 activation=leaky
 
+[avgpool]
+
 [softmax]
 groups=1
 

--
Gitblit v1.10.0