From 23d94e4846bf4ec13069703a28b1d776f4bbe44f Mon Sep 17 00:00:00 2001
From: Edmond Yoo <hj3yoo@uwaterloo.ca>
Date: Sat, 13 Oct 2018 18:49:47 +0000
Subject: [PATCH] Cleaning & commenting #3 - refactoring constants to Config class

---
 cfg/darknet.cfg |   47 ++++++++++++++++++++++++-----------------------
 1 files changed, 24 insertions(+), 23 deletions(-)

diff --git a/cfg/darknet.cfg b/cfg/darknet.cfg
index 64aab1e..60b939a 100644
--- a/cfg/darknet.cfg
+++ b/cfg/darknet.cfg
@@ -1,27 +1,20 @@
 [net]
-batch=256
+batch=128
 subdivisions=1
-height=256
-width=256
+height=224
+width=224
 channels=3
 momentum=0.9
 decay=0.0005
+max_crop=320
 
-learning_rate=0.01
-policy=step
-scale=.1
-step=100000
-max_batches=400000
-
-[crop]
-crop_height=224
-crop_width=224
-flip=1
-angle=0
-saturation=1
-exposure=1
+learning_rate=0.1
+policy=poly
+power=4
+max_batches=1600000
 
 [convolutional]
+batch_normalize=1
 filters=16
 size=3
 stride=1
@@ -33,6 +26,7 @@
 stride=2
 
 [convolutional]
+batch_normalize=1
 filters=32
 size=3
 stride=1
@@ -44,6 +38,7 @@
 stride=2
 
 [convolutional]
+batch_normalize=1
 filters=64
 size=3
 stride=1
@@ -55,6 +50,7 @@
 stride=2
 
 [convolutional]
+batch_normalize=1
 filters=128
 size=3
 stride=1
@@ -66,6 +62,7 @@
 stride=2
 
 [convolutional]
+batch_normalize=1
 filters=256
 size=3
 stride=1
@@ -77,6 +74,7 @@
 stride=2
 
 [convolutional]
+batch_normalize=1
 filters=512
 size=3
 stride=1
@@ -86,24 +84,27 @@
 [maxpool]
 size=2
 stride=2
+padding=1
 
 [convolutional]
+batch_normalize=1
 filters=1024
 size=3
 stride=1
 pad=1
 activation=leaky
 
-[avgpool]
-
-[dropout]
-probability=.5
-
-[connected]
-output=1000
+[convolutional]
+filters=1000
+size=1
+stride=1
+pad=1
 activation=leaky
 
+[avgpool]
+
 [softmax]
+groups=1
 
 [cost]
 type=sse

--
Gitblit v1.10.0