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.
218 lines
2.2 KiB
218 lines
2.2 KiB
[net] |
|
# Testing |
|
#batch=1 |
|
#subdivisions=1 |
|
# Training |
|
batch=8 |
|
subdivisions=4 |
|
width=416 |
|
height=416 |
|
channels=3 |
|
momentum=0.9 |
|
decay=0.0005 |
|
angle=0 |
|
saturation = 1.5 |
|
exposure = 1.5 |
|
hue=.1 |
|
|
|
track=1 |
|
time_steps=20 |
|
augment_speed=3 |
|
|
|
learning_rate=0.001 |
|
burn_in=1000 |
|
max_batches = 10000 |
|
policy=steps |
|
steps=9000,9500 |
|
scales=.1,.1 |
|
|
|
[convolutional] |
|
batch_normalize=1 |
|
filters=16 |
|
size=3 |
|
stride=1 |
|
pad=1 |
|
activation=leaky |
|
|
|
[maxpool] |
|
size=2 |
|
stride=2 |
|
|
|
[convolutional] |
|
batch_normalize=1 |
|
filters=32 |
|
size=3 |
|
stride=1 |
|
pad=1 |
|
activation=leaky |
|
|
|
[maxpool] |
|
size=2 |
|
stride=2 |
|
|
|
[convolutional] |
|
batch_normalize=1 |
|
filters=64 |
|
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 |
|
|
|
[maxpool] |
|
size=2 |
|
stride=2 |
|
|
|
[convolutional] |
|
batch_normalize=1 |
|
filters=256 |
|
size=3 |
|
stride=1 |
|
pad=1 |
|
activation=leaky |
|
|
|
[maxpool] |
|
size=2 |
|
stride=2 |
|
|
|
[convolutional] |
|
batch_normalize=1 |
|
filters=512 |
|
size=3 |
|
stride=1 |
|
pad=1 |
|
activation=leaky |
|
|
|
[maxpool] |
|
size=2 |
|
stride=1 |
|
|
|
[convolutional] |
|
batch_normalize=1 |
|
filters=1024 |
|
size=3 |
|
stride=1 |
|
pad=1 |
|
activation=leaky |
|
|
|
########### |
|
|
|
|
|
[crnn] |
|
batch_normalize=1 |
|
size=3 |
|
pad=1 |
|
output=512 |
|
hidden=256 |
|
activation=leaky |
|
|
|
#[shortcut] |
|
#from=-2 |
|
#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 |
|
|
|
[convolutional] |
|
batch_normalize=1 |
|
filters=512 |
|
size=3 |
|
stride=1 |
|
pad=1 |
|
activation=leaky |
|
|
|
[convolutional] |
|
size=1 |
|
stride=1 |
|
pad=1 |
|
filters=18 |
|
activation=linear |
|
|
|
|
|
|
|
[yolo] |
|
mask = 3,4,5 |
|
anchors = 10,14, 23,27, 37,58, 81,82, 135,169, 344,319 |
|
classes=1 |
|
num=6 |
|
jitter=.3 |
|
ignore_thresh = .7 |
|
truth_thresh = 1 |
|
random=0 |
|
|
|
[route] |
|
layers = -4 |
|
|
|
[convolutional] |
|
batch_normalize=1 |
|
filters=128 |
|
size=1 |
|
stride=1 |
|
pad=1 |
|
activation=leaky |
|
|
|
[upsample] |
|
stride=2 |
|
|
|
[route] |
|
layers = -1, 8 |
|
|
|
[crnn] |
|
batch_normalize=1 |
|
size=3 |
|
pad=1 |
|
output=256 |
|
hidden=128 |
|
activation=leaky |
|
|
|
[convolutional] |
|
batch_normalize=1 |
|
filters=256 |
|
size=3 |
|
stride=1 |
|
pad=1 |
|
activation=leaky |
|
|
|
|
|
[convolutional] |
|
size=1 |
|
stride=1 |
|
pad=1 |
|
filters=18 |
|
activation=linear |
|
|
|
[yolo] |
|
mask = 0,1,2 |
|
anchors = 10,14, 23,27, 37,58, 81,82, 135,169, 344,319 |
|
classes=1 |
|
num=6 |
|
jitter=.3 |
|
ignore_thresh = .7 |
|
truth_thresh = 1 |
|
random=0
|
|
|