2015-12-15 03:57:10 +08:00
|
|
|
[net]
|
|
|
|
batch=128
|
2016-01-19 07:40:14 +08:00
|
|
|
subdivisions=8
|
2015-12-15 03:57:10 +08:00
|
|
|
height=256
|
|
|
|
width=256
|
|
|
|
channels=3
|
|
|
|
momentum=0.9
|
2016-01-19 07:40:14 +08:00
|
|
|
decay=0.0001
|
|
|
|
|
|
|
|
learning_rate=0.05
|
|
|
|
policy=poly
|
|
|
|
power=4
|
|
|
|
max_batches=500000
|
|
|
|
|
2015-12-15 03:57:10 +08:00
|
|
|
|
|
|
|
|
|
|
|
[crop]
|
|
|
|
crop_height=224
|
|
|
|
crop_width=224
|
|
|
|
flip=1
|
|
|
|
saturation=1
|
|
|
|
exposure=1
|
|
|
|
angle=0
|
|
|
|
|
|
|
|
##### Conv 1 #####
|
|
|
|
|
|
|
|
[convolutional]
|
|
|
|
batch_normalize=1
|
|
|
|
filters=64
|
|
|
|
size=7
|
|
|
|
stride=2
|
|
|
|
pad=1
|
|
|
|
activation=leaky
|
|
|
|
|
|
|
|
[maxpool]
|
|
|
|
size=3
|
|
|
|
stride=2
|
|
|
|
|
|
|
|
|
|
|
|
##### Conv 2_x #####
|
|
|
|
|
|
|
|
|
|
|
|
[convolutional]
|
|
|
|
batch_normalize=1
|
|
|
|
filters=64
|
|
|
|
size=1
|
|
|
|
stride=1
|
|
|
|
pad=1
|
|
|
|
activation=leaky
|
|
|
|
|
|
|
|
[convolutional]
|
|
|
|
batch_normalize=1
|
|
|
|
filters=64
|
|
|
|
size=3
|
|
|
|
stride=1
|
|
|
|
pad=1
|
|
|
|
activation=leaky
|
|
|
|
|
|
|
|
[convolutional]
|
|
|
|
batch_normalize=1
|
|
|
|
filters=256
|
|
|
|
size=1
|
|
|
|
stride=1
|
|
|
|
pad=1
|
2016-01-19 07:40:14 +08:00
|
|
|
activation=linear
|
|
|
|
|
|
|
|
[route]
|
|
|
|
layers=-4
|
|
|
|
|
|
|
|
[convolutional]
|
|
|
|
batch_normalize=1
|
|
|
|
size=1
|
|
|
|
stride=1
|
|
|
|
pad=1
|
|
|
|
activation=linear
|
|
|
|
filters=256
|
2015-12-15 03:57:10 +08:00
|
|
|
|
|
|
|
[shortcut]
|
2016-01-19 07:40:14 +08:00
|
|
|
from = -3
|
|
|
|
activation=leaky
|
2015-12-15 03:57:10 +08:00
|
|
|
|
|
|
|
[convolutional]
|
|
|
|
batch_normalize=1
|
|
|
|
filters=64
|
|
|
|
size=1
|
|
|
|
stride=1
|
|
|
|
pad=1
|
|
|
|
activation=leaky
|
|
|
|
|
|
|
|
[convolutional]
|
|
|
|
batch_normalize=1
|
|
|
|
filters=64
|
|
|
|
size=3
|
|
|
|
stride=1
|
|
|
|
pad=1
|
|
|
|
activation=leaky
|
|
|
|
|
|
|
|
[convolutional]
|
|
|
|
batch_normalize=1
|
|
|
|
filters=256
|
|
|
|
size=1
|
|
|
|
stride=1
|
|
|
|
pad=1
|
2016-01-19 07:40:14 +08:00
|
|
|
activation=linear
|
2015-12-15 03:57:10 +08:00
|
|
|
|
|
|
|
[shortcut]
|
|
|
|
from = -4
|
2016-01-19 07:40:14 +08:00
|
|
|
activation=leaky
|
2015-12-15 03:57:10 +08:00
|
|
|
|
|
|
|
[convolutional]
|
|
|
|
batch_normalize=1
|
|
|
|
filters=64
|
|
|
|
size=1
|
|
|
|
stride=1
|
|
|
|
pad=1
|
|
|
|
activation=leaky
|
|
|
|
|
|
|
|
[convolutional]
|
|
|
|
batch_normalize=1
|
|
|
|
filters=64
|
|
|
|
size=3
|
|
|
|
stride=1
|
|
|
|
pad=1
|
|
|
|
activation=leaky
|
|
|
|
|
|
|
|
[convolutional]
|
|
|
|
batch_normalize=1
|
|
|
|
filters=256
|
|
|
|
size=1
|
|
|
|
stride=1
|
|
|
|
pad=1
|
2016-01-19 07:40:14 +08:00
|
|
|
activation=linear
|
2015-12-15 03:57:10 +08:00
|
|
|
|
|
|
|
[shortcut]
|
|
|
|
from = -4
|
2016-01-19 07:40:14 +08:00
|
|
|
activation=leaky
|
2015-12-15 03:57:10 +08:00
|
|
|
|
|
|
|
|
|
|
|
##### Conv 3_x #####
|
|
|
|
|
|
|
|
[convolutional]
|
|
|
|
batch_normalize=1
|
|
|
|
filters=128
|
|
|
|
size=1
|
|
|
|
stride=1
|
|
|
|
pad=1
|
|
|
|
activation=leaky
|
|
|
|
|
|
|
|
[convolutional]
|
|
|
|
batch_normalize=1
|
|
|
|
filters=128
|
|
|
|
size=3
|
|
|
|
stride=2
|
|
|
|
pad=1
|
|
|
|
activation=leaky
|
|
|
|
|
|
|
|
[convolutional]
|
|
|
|
batch_normalize=1
|
|
|
|
filters=512
|
|
|
|
size=1
|
|
|
|
stride=1
|
|
|
|
pad=1
|
2016-01-19 07:40:14 +08:00
|
|
|
activation=linear
|
|
|
|
|
|
|
|
[route]
|
|
|
|
layers=-4
|
|
|
|
|
|
|
|
[convolutional]
|
|
|
|
batch_normalize=1
|
|
|
|
size=1
|
|
|
|
stride=2
|
|
|
|
pad=1
|
|
|
|
activation=linear
|
|
|
|
filters=512
|
2015-12-15 03:57:10 +08:00
|
|
|
|
|
|
|
[shortcut]
|
2016-01-19 07:40:14 +08:00
|
|
|
from = -3
|
|
|
|
activation=leaky
|
2015-12-15 03:57:10 +08:00
|
|
|
|
|
|
|
[convolutional]
|
|
|
|
batch_normalize=1
|
|
|
|
filters=128
|
|
|
|
size=1
|
|
|
|
stride=1
|
|
|
|
pad=1
|
|
|
|
activation=leaky
|
|
|
|
|
|
|
|
[convolutional]
|
|
|
|
batch_normalize=1
|
|
|
|
filters=128
|
|
|
|
size=3
|
|
|
|
stride=1
|
|
|
|
pad=1
|
|
|
|
activation=leaky
|
|
|
|
|
|
|
|
[convolutional]
|
|
|
|
batch_normalize=1
|
|
|
|
filters=512
|
|
|
|
size=1
|
|
|
|
stride=1
|
|
|
|
pad=1
|
2016-01-19 07:40:14 +08:00
|
|
|
activation=linear
|
2015-12-15 03:57:10 +08:00
|
|
|
|
|
|
|
[shortcut]
|
|
|
|
from = -4
|
2016-01-19 07:40:14 +08:00
|
|
|
activation=leaky
|
2015-12-15 03:57:10 +08:00
|
|
|
|
|
|
|
[convolutional]
|
|
|
|
batch_normalize=1
|
|
|
|
filters=128
|
|
|
|
size=1
|
|
|
|
stride=1
|
|
|
|
pad=1
|
|
|
|
activation=leaky
|
|
|
|
|
|
|
|
[convolutional]
|
|
|
|
batch_normalize=1
|
|
|
|
filters=128
|
|
|
|
size=3
|
|
|
|
stride=1
|
|
|
|
pad=1
|
|
|
|
activation=leaky
|
|
|
|
|
|
|
|
[convolutional]
|
|
|
|
batch_normalize=1
|
|
|
|
filters=512
|
|
|
|
size=1
|
|
|
|
stride=1
|
|
|
|
pad=1
|
2016-01-19 07:40:14 +08:00
|
|
|
activation=linear
|
2015-12-15 03:57:10 +08:00
|
|
|
|
|
|
|
[shortcut]
|
|
|
|
from = -4
|
2016-01-19 07:40:14 +08:00
|
|
|
activation=leaky
|
2015-12-15 03:57:10 +08:00
|
|
|
|
|
|
|
[convolutional]
|
|
|
|
batch_normalize=1
|
|
|
|
filters=128
|
|
|
|
size=1
|
|
|
|
stride=1
|
|
|
|
pad=1
|
|
|
|
activation=leaky
|
|
|
|
|
|
|
|
[convolutional]
|
|
|
|
batch_normalize=1
|
|
|
|
filters=128
|
|
|
|
size=3
|
|
|
|
stride=1
|
|
|
|
pad=1
|
|
|
|
activation=leaky
|
|
|
|
|
|
|
|
[convolutional]
|
|
|
|
batch_normalize=1
|
|
|
|
filters=512
|
|
|
|
size=1
|
|
|
|
stride=1
|
|
|
|
pad=1
|
2016-01-19 07:40:14 +08:00
|
|
|
activation=linear
|
2015-12-15 03:57:10 +08:00
|
|
|
|
|
|
|
[shortcut]
|
|
|
|
from = -4
|
2016-01-19 07:40:14 +08:00
|
|
|
activation=leaky
|
2015-12-15 03:57:10 +08:00
|
|
|
|
|
|
|
|
|
|
|
##### Conv 4_x #####
|
|
|
|
|
|
|
|
[convolutional]
|
|
|
|
batch_normalize=1
|
|
|
|
filters=256
|
|
|
|
size=1
|
|
|
|
stride=1
|
|
|
|
pad=1
|
|
|
|
activation=leaky
|
|
|
|
|
|
|
|
[convolutional]
|
|
|
|
batch_normalize=1
|
|
|
|
filters=256
|
|
|
|
size=3
|
|
|
|
stride=2
|
|
|
|
pad=1
|
|
|
|
activation=leaky
|
|
|
|
|
|
|
|
[convolutional]
|
|
|
|
batch_normalize=1
|
|
|
|
filters=1024
|
|
|
|
size=1
|
|
|
|
stride=1
|
|
|
|
pad=1
|
2016-01-19 07:40:14 +08:00
|
|
|
activation=linear
|
|
|
|
|
|
|
|
[route]
|
|
|
|
layers=-4
|
|
|
|
|
|
|
|
[convolutional]
|
|
|
|
batch_normalize=1
|
|
|
|
size=1
|
|
|
|
stride=2
|
|
|
|
pad=1
|
|
|
|
activation=linear
|
|
|
|
filters=1024
|
2015-12-15 03:57:10 +08:00
|
|
|
|
|
|
|
[shortcut]
|
2016-01-19 07:40:14 +08:00
|
|
|
from = -3
|
|
|
|
activation=leaky
|
|
|
|
|
2015-12-15 03:57:10 +08:00
|
|
|
|
|
|
|
[convolutional]
|
|
|
|
batch_normalize=1
|
|
|
|
filters=256
|
|
|
|
size=1
|
|
|
|
stride=1
|
|
|
|
pad=1
|
|
|
|
activation=leaky
|
|
|
|
|
|
|
|
[convolutional]
|
|
|
|
batch_normalize=1
|
|
|
|
filters=256
|
|
|
|
size=3
|
|
|
|
stride=1
|
|
|
|
pad=1
|
|
|
|
activation=leaky
|
|
|
|
|
|
|
|
[convolutional]
|
|
|
|
batch_normalize=1
|
|
|
|
filters=1024
|
|
|
|
size=1
|
|
|
|
stride=1
|
|
|
|
pad=1
|
2016-01-19 07:40:14 +08:00
|
|
|
activation=linear
|
2015-12-15 03:57:10 +08:00
|
|
|
|
|
|
|
[shortcut]
|
|
|
|
from = -4
|
2016-01-19 07:40:14 +08:00
|
|
|
activation=leaky
|
2015-12-15 03:57:10 +08:00
|
|
|
|
|
|
|
[convolutional]
|
|
|
|
batch_normalize=1
|
|
|
|
filters=256
|
|
|
|
size=1
|
|
|
|
stride=1
|
|
|
|
pad=1
|
|
|
|
activation=leaky
|
|
|
|
|
|
|
|
[convolutional]
|
|
|
|
batch_normalize=1
|
|
|
|
filters=256
|
|
|
|
size=3
|
|
|
|
stride=1
|
|
|
|
pad=1
|
|
|
|
activation=leaky
|
|
|
|
|
|
|
|
[convolutional]
|
|
|
|
batch_normalize=1
|
|
|
|
filters=1024
|
|
|
|
size=1
|
|
|
|
stride=1
|
|
|
|
pad=1
|
2016-01-19 07:40:14 +08:00
|
|
|
activation=linear
|
2015-12-15 03:57:10 +08:00
|
|
|
|
|
|
|
[shortcut]
|
|
|
|
from = -4
|
2016-01-19 07:40:14 +08:00
|
|
|
activation=leaky
|
2015-12-15 03:57:10 +08:00
|
|
|
|
|
|
|
[convolutional]
|
|
|
|
batch_normalize=1
|
|
|
|
filters=256
|
|
|
|
size=1
|
|
|
|
stride=1
|
|
|
|
pad=1
|
|
|
|
activation=leaky
|
|
|
|
|
|
|
|
[convolutional]
|
|
|
|
batch_normalize=1
|
|
|
|
filters=256
|
|
|
|
size=3
|
|
|
|
stride=1
|
|
|
|
pad=1
|
|
|
|
activation=leaky
|
|
|
|
|
|
|
|
[convolutional]
|
|
|
|
batch_normalize=1
|
|
|
|
filters=1024
|
|
|
|
size=1
|
|
|
|
stride=1
|
|
|
|
pad=1
|
2016-01-19 07:40:14 +08:00
|
|
|
activation=linear
|
2015-12-15 03:57:10 +08:00
|
|
|
|
|
|
|
[shortcut]
|
|
|
|
from = -4
|
2016-01-19 07:40:14 +08:00
|
|
|
activation=leaky
|
2015-12-15 03:57:10 +08:00
|
|
|
|
|
|
|
[convolutional]
|
|
|
|
batch_normalize=1
|
|
|
|
filters=256
|
|
|
|
size=1
|
|
|
|
stride=1
|
|
|
|
pad=1
|
|
|
|
activation=leaky
|
|
|
|
|
|
|
|
[convolutional]
|
|
|
|
batch_normalize=1
|
|
|
|
filters=256
|
|
|
|
size=3
|
|
|
|
stride=1
|
|
|
|
pad=1
|
|
|
|
activation=leaky
|
|
|
|
|
|
|
|
[convolutional]
|
|
|
|
batch_normalize=1
|
|
|
|
filters=1024
|
|
|
|
size=1
|
|
|
|
stride=1
|
|
|
|
pad=1
|
2016-01-19 07:40:14 +08:00
|
|
|
activation=linear
|
2015-12-15 03:57:10 +08:00
|
|
|
|
|
|
|
[shortcut]
|
|
|
|
from = -4
|
2016-01-19 07:40:14 +08:00
|
|
|
activation=leaky
|
2015-12-15 03:57:10 +08:00
|
|
|
|
|
|
|
[convolutional]
|
|
|
|
batch_normalize=1
|
|
|
|
filters=256
|
|
|
|
size=1
|
|
|
|
stride=1
|
|
|
|
pad=1
|
|
|
|
activation=leaky
|
|
|
|
|
|
|
|
[convolutional]
|
|
|
|
batch_normalize=1
|
|
|
|
filters=256
|
|
|
|
size=3
|
|
|
|
stride=1
|
|
|
|
pad=1
|
|
|
|
activation=leaky
|
|
|
|
|
|
|
|
[convolutional]
|
|
|
|
batch_normalize=1
|
|
|
|
filters=1024
|
|
|
|
size=1
|
|
|
|
stride=1
|
|
|
|
pad=1
|
2016-01-19 07:40:14 +08:00
|
|
|
activation=linear
|
2015-12-15 03:57:10 +08:00
|
|
|
|
|
|
|
[shortcut]
|
|
|
|
from = -4
|
2016-01-19 07:40:14 +08:00
|
|
|
activation=leaky
|
2015-12-15 03:57:10 +08:00
|
|
|
|
|
|
|
|
|
|
|
##### Conv 5_x #####
|
|
|
|
|
|
|
|
[convolutional]
|
|
|
|
batch_normalize=1
|
|
|
|
filters=512
|
|
|
|
size=1
|
|
|
|
stride=1
|
|
|
|
pad=1
|
|
|
|
activation=leaky
|
|
|
|
|
|
|
|
[convolutional]
|
|
|
|
batch_normalize=1
|
|
|
|
filters=512
|
|
|
|
size=3
|
|
|
|
stride=2
|
|
|
|
pad=1
|
|
|
|
activation=leaky
|
|
|
|
|
|
|
|
[convolutional]
|
|
|
|
batch_normalize=1
|
|
|
|
filters=2048
|
|
|
|
size=1
|
|
|
|
stride=1
|
|
|
|
pad=1
|
2016-01-19 07:40:14 +08:00
|
|
|
activation=linear
|
|
|
|
|
|
|
|
|
|
|
|
[route]
|
|
|
|
layers=-4
|
|
|
|
|
|
|
|
[convolutional]
|
|
|
|
batch_normalize=1
|
|
|
|
size=1
|
|
|
|
stride=2
|
|
|
|
pad=1
|
|
|
|
activation=linear
|
|
|
|
filters=2048
|
2015-12-15 03:57:10 +08:00
|
|
|
|
|
|
|
[shortcut]
|
2016-01-19 07:40:14 +08:00
|
|
|
from = -3
|
|
|
|
activation=leaky
|
|
|
|
|
2015-12-15 03:57:10 +08:00
|
|
|
|
|
|
|
[convolutional]
|
|
|
|
batch_normalize=1
|
|
|
|
filters=512
|
|
|
|
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=2048
|
|
|
|
size=1
|
|
|
|
stride=1
|
|
|
|
pad=1
|
2016-01-19 07:40:14 +08:00
|
|
|
activation=linear
|
2015-12-15 03:57:10 +08:00
|
|
|
|
|
|
|
[shortcut]
|
|
|
|
from = -4
|
2016-01-19 07:40:14 +08:00
|
|
|
activation=leaky
|
2015-12-15 03:57:10 +08:00
|
|
|
|
|
|
|
[convolutional]
|
|
|
|
batch_normalize=1
|
|
|
|
filters=512
|
|
|
|
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=2048
|
|
|
|
size=1
|
|
|
|
stride=1
|
|
|
|
pad=1
|
2016-01-19 07:40:14 +08:00
|
|
|
activation=linear
|
2015-12-15 03:57:10 +08:00
|
|
|
|
|
|
|
[shortcut]
|
|
|
|
from = -4
|
2016-01-19 07:40:14 +08:00
|
|
|
activation=leaky
|
2015-12-15 03:57:10 +08:00
|
|
|
|
|
|
|
[avgpool]
|
|
|
|
|
|
|
|
[connected]
|
|
|
|
output=1000
|
|
|
|
activation=leaky
|
|
|
|
|
|
|
|
[softmax]
|
|
|
|
groups=1
|
|
|
|
|
|
|
|
[cost]
|
|
|
|
type=sse
|
|
|
|
|