From 0222895c0697b5158b05d3bbe01f0a88a3ccd576 Mon Sep 17 00:00:00 2001 From: Joseph Redmon <pjreddie@gmail.com> Date: Sun, 27 Nov 2016 04:08:16 +0000 Subject: [PATCH] :crossed_swords: IS THIS NOT WHY YOU ARE HERE :crossed_swords: --- cfg/yolo-tiny.cfg | 80 ++++++++++++++++++--------------------- 1 files changed, 37 insertions(+), 43 deletions(-) diff --git a/cfg/yolo-tiny.cfg b/cfg/yolo-tiny.cfg index c72ed9b..5580098 100644 --- a/cfg/yolo-tiny.cfg +++ b/cfg/yolo-tiny.cfg @@ -1,27 +1,24 @@ [net] batch=64 -subdivisions=64 -height=448 -width=448 +subdivisions=8 +width=416 +height=416 channels=3 momentum=0.9 decay=0.0005 - -learning_rate=0.0001 -policy=steps -steps=20,40,60,80,20000,30000 -scales=5,5,2,2,.1,.1 -max_batches = 40000 - -[crop] -crop_width=448 -crop_height=448 -flip=0 angle=0 saturation = 1.5 exposure = 1.5 +hue=.1 + +learning_rate=0.001 +max_batches = 120000 +policy=steps +steps=-1,100,80000,100000 +scales=.1,10,.1,.1 [convolutional] +batch_normalize=1 filters=16 size=3 stride=1 @@ -33,6 +30,7 @@ stride=2 [convolutional] +batch_normalize=1 filters=32 size=3 stride=1 @@ -44,6 +42,7 @@ stride=2 [convolutional] +batch_normalize=1 filters=64 size=3 stride=1 @@ -55,6 +54,7 @@ stride=2 [convolutional] +batch_normalize=1 filters=128 size=3 stride=1 @@ -66,6 +66,7 @@ stride=2 [convolutional] +batch_normalize=1 filters=256 size=3 stride=1 @@ -77,6 +78,7 @@ stride=2 [convolutional] +batch_normalize=1 filters=512 size=3 stride=1 @@ -85,56 +87,48 @@ [maxpool] size=2 -stride=2 +stride=1 [convolutional] +batch_normalize=1 filters=1024 size=3 stride=1 pad=1 activation=leaky +########### + [convolutional] -filters=1024 +batch_normalize=1 size=3 stride=1 pad=1 +filters=1024 activation=leaky [convolutional] -filters=1024 -size=3 +size=1 stride=1 pad=1 -activation=leaky - -[connected] -output=256 +filters=425 activation=linear -[connected] -output=4096 -activation=leaky - -[dropout] -probability=.5 - -[connected] -output= 1470 -activation=linear - -[detection] -classes=20 +[region] +anchors = 0.738768,0.874946, 2.42204,2.65704, 4.30971,7.04493, 10.246,4.59428, 12.6868,11.8741 +bias_match=1 +classes=80 coords=4 -rescore=1 -side=7 -num=2 -softmax=0 -sqrt=1 +num=5 +softmax=1 jitter=.2 +rescore=1 -object_scale=1 -noobject_scale=.5 +object_scale=5 +noobject_scale=1 class_scale=1 -coord_scale=5 +coord_scale=1 +absolute=1 +thresh = .6 +random=1 -- Gitblit v1.10.0