diff --git a/cfg/yolov4-custom.cfg b/cfg/yolov4-custom.cfg index 32516bdc120..f2279141e86 100644 --- a/cfg/yolov4-custom.cfg +++ b/cfg/yolov4-custom.cfg @@ -5,8 +5,8 @@ # Training batch=64 subdivisions=16 -width=608 -height=608 +width=416 +height=416 channels=3 momentum=0.949 decay=0.0005 @@ -17,9 +17,9 @@ hue=.1 learning_rate=0.001 burn_in=1000 -max_batches = 500500 +max_batches = 2000 policy=steps -steps=400000,450000 +steps=1600,1800 scales=.1,.1 #cutmix=1 @@ -960,14 +960,14 @@ activation=leaky size=1 stride=1 pad=1 -filters=255 +filters=18 activation=linear [yolo] mask = 0,1,2 anchors = 12, 16, 19, 36, 40, 28, 36, 75, 76, 55, 72, 146, 142, 110, 192, 243, 459, 401 -classes=80 +classes=1 num=9 jitter=.3 ignore_thresh = .7 @@ -1048,14 +1048,14 @@ activation=leaky size=1 stride=1 pad=1 -filters=255 +filters=18 activation=linear [yolo] mask = 3,4,5 anchors = 12, 16, 19, 36, 40, 28, 36, 75, 76, 55, 72, 146, 142, 110, 192, 243, 459, 401 -classes=80 +classes=1 num=9 jitter=.3 ignore_thresh = .7 @@ -1136,14 +1136,14 @@ activation=leaky size=1 stride=1 pad=1 -filters=255 +filters=18 activation=linear [yolo] mask = 6,7,8 anchors = 12, 16, 19, 36, 40, 28, 36, 75, 76, 55, 72, 146, 142, 110, 192, 243, 459, 401 -classes=80 +classes=1 num=9 jitter=.3 ignore_thresh = .7