mirror of https://github.com/AlexeyAB/darknet.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
566 lines
5.7 KiB
566 lines
5.7 KiB
[net] |
|
# Training |
|
# batch=128 |
|
# subdivisions=4 |
|
|
|
# Testing |
|
batch=1 |
|
subdivisions=1 |
|
|
|
height=256 |
|
width=256 |
|
channels=3 |
|
min_crop=128 |
|
max_crop=448 |
|
|
|
burn_in=1000 |
|
learning_rate=0.1 |
|
policy=poly |
|
power=4 |
|
max_batches=800000 |
|
momentum=0.9 |
|
decay=0.0005 |
|
|
|
angle=7 |
|
hue=.1 |
|
saturation=.75 |
|
exposure=.75 |
|
aspect=.75 |
|
|
|
|
|
[convolutional] |
|
batch_normalize=1 |
|
filters=32 |
|
size=3 |
|
stride=1 |
|
pad=1 |
|
activation=leaky |
|
|
|
# Downsample |
|
|
|
[convolutional] |
|
batch_normalize=1 |
|
filters=64 |
|
size=3 |
|
stride=2 |
|
pad=1 |
|
activation=leaky |
|
|
|
[convolutional] |
|
batch_normalize=1 |
|
filters=32 |
|
size=1 |
|
stride=1 |
|
pad=1 |
|
activation=leaky |
|
|
|
[convolutional] |
|
batch_normalize=1 |
|
filters=64 |
|
size=3 |
|
stride=1 |
|
pad=1 |
|
activation=leaky |
|
|
|
[shortcut] |
|
from=-3 |
|
activation=linear |
|
|
|
# Downsample |
|
|
|
[convolutional] |
|
batch_normalize=1 |
|
filters=128 |
|
size=3 |
|
stride=2 |
|
pad=1 |
|
activation=leaky |
|
|
|
[convolutional] |
|
batch_normalize=1 |
|
filters=64 |
|
size=1 |
|
stride=1 |
|
pad=1 |
|
activation=leaky |
|
|
|
[convolutional] |
|
batch_normalize=1 |
|
filters=128 |
|
size=3 |
|
stride=1 |
|
pad=1 |
|
activation=leaky |
|
|
|
[shortcut] |
|
from=-3 |
|
activation=linear |
|
|
|
[convolutional] |
|
batch_normalize=1 |
|
filters=64 |
|
size=1 |
|
stride=1 |
|
pad=1 |
|
activation=leaky |
|
|
|
[convolutional] |
|
batch_normalize=1 |
|
filters=128 |
|
size=3 |
|
stride=1 |
|
pad=1 |
|
activation=leaky |
|
|
|
[shortcut] |
|
from=-3 |
|
activation=linear |
|
|
|
# Downsample |
|
|
|
[convolutional] |
|
batch_normalize=1 |
|
filters=256 |
|
size=3 |
|
stride=2 |
|
pad=1 |
|
activation=leaky |
|
|
|
[convolutional] |
|
batch_normalize=1 |
|
filters=128 |
|
size=1 |
|
stride=1 |
|
pad=1 |
|
activation=leaky |
|
|
|
[convolutional] |
|
batch_normalize=1 |
|
filters=256 |
|
size=3 |
|
stride=1 |
|
pad=1 |
|
activation=leaky |
|
|
|
[shortcut] |
|
from=-3 |
|
activation=linear |
|
|
|
[convolutional] |
|
batch_normalize=1 |
|
filters=128 |
|
size=1 |
|
stride=1 |
|
pad=1 |
|
activation=leaky |
|
|
|
[convolutional] |
|
batch_normalize=1 |
|
filters=256 |
|
size=3 |
|
stride=1 |
|
pad=1 |
|
activation=leaky |
|
|
|
[shortcut] |
|
from=-3 |
|
activation=linear |
|
|
|
[convolutional] |
|
batch_normalize=1 |
|
filters=128 |
|
size=1 |
|
stride=1 |
|
pad=1 |
|
activation=leaky |
|
|
|
[convolutional] |
|
batch_normalize=1 |
|
filters=256 |
|
size=3 |
|
stride=1 |
|
pad=1 |
|
activation=leaky |
|
|
|
[shortcut] |
|
from=-3 |
|
activation=linear |
|
|
|
[convolutional] |
|
batch_normalize=1 |
|
filters=128 |
|
size=1 |
|
stride=1 |
|
pad=1 |
|
activation=leaky |
|
|
|
[convolutional] |
|
batch_normalize=1 |
|
filters=256 |
|
size=3 |
|
stride=1 |
|
pad=1 |
|
activation=leaky |
|
|
|
[shortcut] |
|
from=-3 |
|
activation=linear |
|
|
|
|
|
[convolutional] |
|
batch_normalize=1 |
|
filters=128 |
|
size=1 |
|
stride=1 |
|
pad=1 |
|
activation=leaky |
|
|
|
[convolutional] |
|
batch_normalize=1 |
|
filters=256 |
|
size=3 |
|
stride=1 |
|
pad=1 |
|
activation=leaky |
|
|
|
[shortcut] |
|
from=-3 |
|
activation=linear |
|
|
|
[convolutional] |
|
batch_normalize=1 |
|
filters=128 |
|
size=1 |
|
stride=1 |
|
pad=1 |
|
activation=leaky |
|
|
|
[convolutional] |
|
batch_normalize=1 |
|
filters=256 |
|
size=3 |
|
stride=1 |
|
pad=1 |
|
activation=leaky |
|
|
|
[shortcut] |
|
from=-3 |
|
activation=linear |
|
|
|
[convolutional] |
|
batch_normalize=1 |
|
filters=128 |
|
size=1 |
|
stride=1 |
|
pad=1 |
|
activation=leaky |
|
|
|
[convolutional] |
|
batch_normalize=1 |
|
filters=256 |
|
size=3 |
|
stride=1 |
|
pad=1 |
|
activation=leaky |
|
|
|
[shortcut] |
|
from=-3 |
|
activation=linear |
|
|
|
[convolutional] |
|
batch_normalize=1 |
|
filters=128 |
|
size=1 |
|
stride=1 |
|
pad=1 |
|
activation=leaky |
|
|
|
[convolutional] |
|
batch_normalize=1 |
|
filters=256 |
|
size=3 |
|
stride=1 |
|
pad=1 |
|
activation=leaky |
|
|
|
[shortcut] |
|
from=-3 |
|
activation=linear |
|
|
|
# Downsample |
|
|
|
[convolutional] |
|
batch_normalize=1 |
|
filters=512 |
|
size=3 |
|
stride=2 |
|
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 |
|
|
|
[shortcut] |
|
from=-3 |
|
activation=linear |
|
|
|
|
|
[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 |
|
|
|
[shortcut] |
|
from=-3 |
|
activation=linear |
|
|
|
|
|
[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 |
|
|
|
[shortcut] |
|
from=-3 |
|
activation=linear |
|
|
|
|
|
[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 |
|
|
|
[shortcut] |
|
from=-3 |
|
activation=linear |
|
|
|
[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 |
|
|
|
[shortcut] |
|
from=-3 |
|
activation=linear |
|
|
|
|
|
[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 |
|
|
|
[shortcut] |
|
from=-3 |
|
activation=linear |
|
|
|
|
|
[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 |
|
|
|
[shortcut] |
|
from=-3 |
|
activation=linear |
|
|
|
[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 |
|
|
|
[shortcut] |
|
from=-3 |
|
activation=linear |
|
|
|
# Downsample |
|
|
|
[convolutional] |
|
batch_normalize=1 |
|
filters=1024 |
|
size=3 |
|
stride=2 |
|
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 |
|
|
|
[shortcut] |
|
from=-3 |
|
activation=linear |
|
|
|
[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 |
|
|
|
[shortcut] |
|
from=-3 |
|
activation=linear |
|
|
|
[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 |
|
|
|
[shortcut] |
|
from=-3 |
|
activation=linear |
|
|
|
[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 |
|
|
|
[shortcut] |
|
from=-3 |
|
activation=linear |
|
|
|
[avgpool] |
|
|
|
[convolutional] |
|
filters=1000 |
|
size=1 |
|
stride=1 |
|
pad=1 |
|
activation=linear |
|
|
|
[softmax] |
|
groups=1 |
|
|
|
|