2016-06-23 13:29:57 +08:00
|
|
|
[net]
|
2017-04-07 23:06:56 +08:00
|
|
|
# Testing
|
|
|
|
batch=1
|
|
|
|
subdivisions=1
|
|
|
|
# Training
|
|
|
|
# batch=64
|
|
|
|
# subdivisions=8
|
2016-11-18 04:18:19 +08:00
|
|
|
height=416
|
|
|
|
width=416
|
2016-06-23 13:29:57 +08:00
|
|
|
channels=3
|
|
|
|
momentum=0.9
|
|
|
|
decay=0.0005
|
2016-11-18 04:18:19 +08:00
|
|
|
angle=0
|
|
|
|
saturation = 1.5
|
|
|
|
exposure = 1.5
|
|
|
|
hue=.1
|
2016-06-23 13:29:57 +08:00
|
|
|
|
2017-04-07 23:06:56 +08:00
|
|
|
learning_rate=0.001
|
|
|
|
burn_in=1000
|
|
|
|
max_batches = 80200
|
2016-06-23 13:29:57 +08:00
|
|
|
policy=steps
|
2017-04-07 23:06:56 +08:00
|
|
|
steps=40000,60000
|
|
|
|
scales=.1,.1
|
2016-06-23 13:29:57 +08:00
|
|
|
|
|
|
|
[convolutional]
|
|
|
|
batch_normalize=1
|
2016-11-18 04:18:19 +08:00
|
|
|
filters=32
|
|
|
|
size=3
|
|
|
|
stride=1
|
2016-06-23 13:29:57 +08:00
|
|
|
pad=1
|
|
|
|
activation=leaky
|
|
|
|
|
|
|
|
[maxpool]
|
|
|
|
size=2
|
|
|
|
stride=2
|
|
|
|
|
|
|
|
[convolutional]
|
|
|
|
batch_normalize=1
|
2016-11-18 04:18:19 +08:00
|
|
|
filters=64
|
2016-06-23 13:29:57 +08:00
|
|
|
size=3
|
|
|
|
stride=1
|
|
|
|
pad=1
|
|
|
|
activation=leaky
|
|
|
|
|
|
|
|
[maxpool]
|
|
|
|
size=2
|
|
|
|
stride=2
|
|
|
|
|
|
|
|
[convolutional]
|
|
|
|
batch_normalize=1
|
|
|
|
filters=128
|
|
|
|
size=3
|
|
|
|
stride=1
|
|
|
|
pad=1
|
|
|
|
activation=leaky
|
|
|
|
|
|
|
|
[convolutional]
|
|
|
|
batch_normalize=1
|
2016-11-18 04:18:19 +08:00
|
|
|
filters=64
|
2016-06-23 13:29:57 +08:00
|
|
|
size=1
|
|
|
|
stride=1
|
|
|
|
pad=1
|
|
|
|
activation=leaky
|
|
|
|
|
|
|
|
[convolutional]
|
|
|
|
batch_normalize=1
|
2016-11-18 04:18:19 +08:00
|
|
|
filters=128
|
2016-06-23 13:29:57 +08:00
|
|
|
size=3
|
|
|
|
stride=1
|
|
|
|
pad=1
|
|
|
|
activation=leaky
|
|
|
|
|
|
|
|
[maxpool]
|
|
|
|
size=2
|
|
|
|
stride=2
|
|
|
|
|
|
|
|
[convolutional]
|
|
|
|
batch_normalize=1
|
|
|
|
filters=256
|
2016-11-18 04:18:19 +08:00
|
|
|
size=3
|
2016-06-23 13:29:57 +08:00
|
|
|
stride=1
|
|
|
|
pad=1
|
|
|
|
activation=leaky
|
|
|
|
|
|
|
|
[convolutional]
|
|
|
|
batch_normalize=1
|
2016-11-18 04:18:19 +08:00
|
|
|
filters=128
|
|
|
|
size=1
|
2016-06-23 13:29:57 +08:00
|
|
|
stride=1
|
|
|
|
pad=1
|
|
|
|
activation=leaky
|
|
|
|
|
|
|
|
[convolutional]
|
|
|
|
batch_normalize=1
|
|
|
|
filters=256
|
2016-11-18 04:18:19 +08:00
|
|
|
size=3
|
2016-06-23 13:29:57 +08:00
|
|
|
stride=1
|
|
|
|
pad=1
|
|
|
|
activation=leaky
|
|
|
|
|
2016-11-18 04:18:19 +08:00
|
|
|
[maxpool]
|
|
|
|
size=2
|
|
|
|
stride=2
|
|
|
|
|
2016-06-23 13:29:57 +08:00
|
|
|
[convolutional]
|
|
|
|
batch_normalize=1
|
|
|
|
filters=512
|
|
|
|
size=3
|
|
|
|
stride=1
|
|
|
|
pad=1
|
|
|
|
activation=leaky
|
|
|
|
|
|
|
|
[convolutional]
|
|
|
|
batch_normalize=1
|
|
|
|
filters=256
|
|
|
|
size=1
|
|
|
|
stride=1
|
|
|
|
pad=1
|
|
|
|
activation=leaky
|
|
|
|
|
|
|
|
[convolutional]
|
|
|
|
batch_normalize=1
|
|
|
|
filters=512
|
|
|
|
size=3
|
|
|
|
stride=1
|
|
|
|
pad=1
|
|
|
|
activation=leaky
|
|
|
|
|
|
|
|
[convolutional]
|
|
|
|
batch_normalize=1
|
|
|
|
filters=256
|
|
|
|
size=1
|
|
|
|
stride=1
|
|
|
|
pad=1
|
|
|
|
activation=leaky
|
|
|
|
|
|
|
|
[convolutional]
|
|
|
|
batch_normalize=1
|
|
|
|
filters=512
|
|
|
|
size=3
|
|
|
|
stride=1
|
|
|
|
pad=1
|
|
|
|
activation=leaky
|
|
|
|
|
2016-11-18 04:18:19 +08:00
|
|
|
[maxpool]
|
|
|
|
size=2
|
|
|
|
stride=2
|
2016-06-23 13:29:57 +08:00
|
|
|
|
|
|
|
[convolutional]
|
|
|
|
batch_normalize=1
|
|
|
|
filters=1024
|
|
|
|
size=3
|
|
|
|
stride=1
|
|
|
|
pad=1
|
|
|
|
activation=leaky
|
|
|
|
|
|
|
|
[convolutional]
|
|
|
|
batch_normalize=1
|
|
|
|
filters=512
|
|
|
|
size=1
|
|
|
|
stride=1
|
|
|
|
pad=1
|
|
|
|
activation=leaky
|
|
|
|
|
|
|
|
[convolutional]
|
|
|
|
batch_normalize=1
|
|
|
|
filters=1024
|
|
|
|
size=3
|
|
|
|
stride=1
|
|
|
|
pad=1
|
|
|
|
activation=leaky
|
|
|
|
|
|
|
|
[convolutional]
|
|
|
|
batch_normalize=1
|
|
|
|
filters=512
|
|
|
|
size=1
|
|
|
|
stride=1
|
|
|
|
pad=1
|
|
|
|
activation=leaky
|
|
|
|
|
|
|
|
[convolutional]
|
|
|
|
batch_normalize=1
|
|
|
|
filters=1024
|
|
|
|
size=3
|
|
|
|
stride=1
|
|
|
|
pad=1
|
|
|
|
activation=leaky
|
|
|
|
|
2016-11-18 04:18:19 +08:00
|
|
|
|
2016-06-23 13:29:57 +08:00
|
|
|
#######
|
|
|
|
|
|
|
|
[convolutional]
|
|
|
|
batch_normalize=1
|
|
|
|
size=3
|
|
|
|
stride=1
|
|
|
|
pad=1
|
|
|
|
filters=1024
|
|
|
|
activation=leaky
|
|
|
|
|
|
|
|
[convolutional]
|
|
|
|
batch_normalize=1
|
|
|
|
size=3
|
|
|
|
stride=1
|
|
|
|
pad=1
|
|
|
|
filters=1024
|
|
|
|
activation=leaky
|
|
|
|
|
2016-11-18 04:18:19 +08:00
|
|
|
[route]
|
|
|
|
layers=-9
|
|
|
|
|
2017-04-07 23:06:56 +08:00
|
|
|
[convolutional]
|
|
|
|
batch_normalize=1
|
|
|
|
size=1
|
|
|
|
stride=1
|
|
|
|
pad=1
|
|
|
|
filters=64
|
|
|
|
activation=leaky
|
|
|
|
|
2016-11-18 04:18:19 +08:00
|
|
|
[reorg]
|
|
|
|
stride=2
|
|
|
|
|
|
|
|
[route]
|
2017-04-07 23:06:56 +08:00
|
|
|
layers=-1,-4
|
2016-11-18 04:18:19 +08:00
|
|
|
|
2016-06-23 13:29:57 +08:00
|
|
|
[convolutional]
|
|
|
|
batch_normalize=1
|
|
|
|
size=3
|
|
|
|
stride=1
|
|
|
|
pad=1
|
|
|
|
filters=1024
|
|
|
|
activation=leaky
|
|
|
|
|
2016-11-18 04:18:19 +08:00
|
|
|
[convolutional]
|
|
|
|
size=1
|
2016-06-23 13:29:57 +08:00
|
|
|
stride=1
|
|
|
|
pad=1
|
2016-11-18 04:18:19 +08:00
|
|
|
filters=125
|
2016-06-23 13:29:57 +08:00
|
|
|
activation=linear
|
|
|
|
|
2017-04-07 23:06:56 +08:00
|
|
|
|
2016-11-18 04:18:19 +08:00
|
|
|
[region]
|
2017-04-07 23:06:56 +08:00
|
|
|
anchors = 1.3221, 1.73145, 3.19275, 4.00944, 5.05587, 8.09892, 9.47112, 4.84053, 11.2364, 10.0071
|
2016-11-18 04:18:19 +08:00
|
|
|
bias_match=1
|
2016-06-23 13:29:57 +08:00
|
|
|
classes=20
|
|
|
|
coords=4
|
2016-11-18 04:18:19 +08:00
|
|
|
num=5
|
|
|
|
softmax=1
|
2017-04-07 23:06:56 +08:00
|
|
|
jitter=.3
|
2016-11-18 04:18:19 +08:00
|
|
|
rescore=1
|
2016-06-23 13:29:57 +08:00
|
|
|
|
2016-11-18 04:18:19 +08:00
|
|
|
object_scale=5
|
|
|
|
noobject_scale=1
|
2016-06-23 13:29:57 +08:00
|
|
|
class_scale=1
|
2016-11-18 04:18:19 +08:00
|
|
|
coord_scale=1
|
2016-06-23 13:29:57 +08:00
|
|
|
|
2016-11-18 04:18:19 +08:00
|
|
|
absolute=1
|
|
|
|
thresh = .6
|
2017-04-07 23:06:56 +08:00
|
|
|
random=1
|