From eaecb49a5f475440b4e6f05a6e13082be95524eb Mon Sep 17 00:00:00 2001 From: Philip Kahn <tigerhawkvok@gmail.com> Date: Fri, 04 May 2018 20:59:28 +0000 Subject: [PATCH] Change darknet.py to Python 3 compatibility --- build/darknet/x64/resnet50_yolo.cfg | 34 +++++++--------------------------- 1 files changed, 7 insertions(+), 27 deletions(-) diff --git a/build/darknet/x64/resnet50_yolo.cfg b/build/darknet/x64/resnet50_yolo.cfg index 4a039dd..44dc68e 100644 --- a/build/darknet/x64/resnet50_yolo.cfg +++ b/build/darknet/x64/resnet50_yolo.cfg @@ -1,18 +1,15 @@ [net] -# Training batch=64 -subdivisions=16 - -# Testing -#batch=1 -#subdivisions=1 - +subdivisions=32 height=416 width=416 -#max_crop=448 channels=3 momentum=0.9 decay=0.0005 +angle=0 +saturation = 1.5 +exposure = 1.5 +hue=.1 learning_rate=0.0001 max_batches = 45000 @@ -20,12 +17,6 @@ steps=100,25000,35000 scales=10,.1,.1 -angle=7 -hue=.1 -saturation=.75 -exposure=.75 -aspect=.75 - [convolutional] batch_normalize=1 filters=64 @@ -488,7 +479,7 @@ [shortcut] from=-4 activation=leaky - +#stopbackward=1 @@ -502,17 +493,6 @@ [convolutional] -batch_normalize=1 -size=3 -stride=1 -pad=1 -filters=1024 -activation=leaky - - - - -[convolutional] size=1 stride=1 pad=1 @@ -537,4 +517,4 @@ absolute=1 thresh = .6 -random=0 +random=1 \ No newline at end of file -- Gitblit v1.10.0