mirror of
https://github.com/pjreddie/darknet.git
synced 2023-08-10 21:13:14 +03:00
changed yolo-small
This commit is contained in:
parent
42ba5d4585
commit
ea4511006f
@ -1,204 +1,239 @@
|
|||||||
[net]
|
[net]
|
||||||
batch=64
|
batch=64
|
||||||
subdivisions=64
|
subdivisions=2
|
||||||
height=448
|
height=448
|
||||||
width=448
|
width=448
|
||||||
channels=3
|
channels=3
|
||||||
learning_rate=0.01
|
|
||||||
momentum=0.9
|
momentum=0.9
|
||||||
decay=0.0005
|
decay=0.0005
|
||||||
|
|
||||||
|
learning_rate=0.001
|
||||||
|
policy=steps
|
||||||
|
steps=200,400,600,20000,30000
|
||||||
|
scales=2.5,2,2,.1,.1
|
||||||
|
max_batches = 40000
|
||||||
|
|
||||||
[crop]
|
[crop]
|
||||||
crop_width=448
|
crop_width=448
|
||||||
crop_height=448
|
crop_height=448
|
||||||
flip=0
|
flip=0
|
||||||
angle=0
|
angle=0
|
||||||
saturation = 2
|
saturation = 1.5
|
||||||
exposure = 2
|
exposure = 1.5
|
||||||
|
|
||||||
[convolutional]
|
[convolutional]
|
||||||
filters=64
|
filters=64
|
||||||
size=7
|
size=7
|
||||||
stride=2
|
stride=2
|
||||||
pad=1
|
pad=1
|
||||||
activation=ramp
|
activation=leaky
|
||||||
|
|
||||||
|
[maxpool]
|
||||||
|
size=2
|
||||||
|
stride=2
|
||||||
|
|
||||||
[convolutional]
|
[convolutional]
|
||||||
filters=192
|
filters=192
|
||||||
size=3
|
size=3
|
||||||
stride=2
|
stride=1
|
||||||
pad=1
|
pad=1
|
||||||
activation=ramp
|
activation=leaky
|
||||||
|
|
||||||
|
[maxpool]
|
||||||
|
size=2
|
||||||
|
stride=2
|
||||||
|
|
||||||
[convolutional]
|
[convolutional]
|
||||||
filters=128
|
filters=128
|
||||||
size=1
|
size=1
|
||||||
stride=1
|
stride=1
|
||||||
pad=1
|
pad=1
|
||||||
activation=ramp
|
activation=leaky
|
||||||
|
|
||||||
[convolutional]
|
[convolutional]
|
||||||
filters=256
|
filters=256
|
||||||
size=3
|
size=3
|
||||||
|
stride=1
|
||||||
|
pad=1
|
||||||
|
activation=leaky
|
||||||
|
|
||||||
|
[convolutional]
|
||||||
|
filters=256
|
||||||
|
size=1
|
||||||
|
stride=1
|
||||||
|
pad=1
|
||||||
|
activation=leaky
|
||||||
|
|
||||||
|
[convolutional]
|
||||||
|
filters=512
|
||||||
|
size=3
|
||||||
|
stride=1
|
||||||
|
pad=1
|
||||||
|
activation=leaky
|
||||||
|
|
||||||
|
[maxpool]
|
||||||
|
size=2
|
||||||
stride=2
|
stride=2
|
||||||
pad=1
|
|
||||||
activation=ramp
|
|
||||||
|
|
||||||
[convolutional]
|
|
||||||
filters=128
|
|
||||||
size=1
|
|
||||||
stride=1
|
|
||||||
pad=1
|
|
||||||
activation=ramp
|
|
||||||
|
|
||||||
[convolutional]
|
|
||||||
filters=256
|
|
||||||
size=3
|
|
||||||
stride=1
|
|
||||||
pad=1
|
|
||||||
activation=ramp
|
|
||||||
|
|
||||||
[convolutional]
|
|
||||||
filters=128
|
|
||||||
size=1
|
|
||||||
stride=1
|
|
||||||
pad=1
|
|
||||||
activation=ramp
|
|
||||||
|
|
||||||
[convolutional]
|
|
||||||
filters=512
|
|
||||||
size=3
|
|
||||||
stride=2
|
|
||||||
pad=1
|
|
||||||
activation=ramp
|
|
||||||
|
|
||||||
[convolutional]
|
[convolutional]
|
||||||
filters=256
|
filters=256
|
||||||
size=1
|
size=1
|
||||||
stride=1
|
stride=1
|
||||||
pad=1
|
pad=1
|
||||||
activation=ramp
|
activation=leaky
|
||||||
|
|
||||||
[convolutional]
|
[convolutional]
|
||||||
filters=512
|
filters=512
|
||||||
size=3
|
size=3
|
||||||
stride=1
|
stride=1
|
||||||
pad=1
|
pad=1
|
||||||
activation=ramp
|
activation=leaky
|
||||||
|
|
||||||
[convolutional]
|
[convolutional]
|
||||||
filters=256
|
filters=256
|
||||||
size=1
|
size=1
|
||||||
stride=1
|
stride=1
|
||||||
pad=1
|
pad=1
|
||||||
activation=ramp
|
activation=leaky
|
||||||
|
|
||||||
[convolutional]
|
[convolutional]
|
||||||
filters=512
|
filters=512
|
||||||
size=3
|
size=3
|
||||||
stride=1
|
stride=1
|
||||||
pad=1
|
pad=1
|
||||||
activation=ramp
|
activation=leaky
|
||||||
|
|
||||||
[convolutional]
|
[convolutional]
|
||||||
filters=256
|
filters=256
|
||||||
size=1
|
size=1
|
||||||
stride=1
|
stride=1
|
||||||
pad=1
|
pad=1
|
||||||
activation=ramp
|
activation=leaky
|
||||||
|
|
||||||
[convolutional]
|
[convolutional]
|
||||||
filters=512
|
filters=512
|
||||||
size=3
|
size=3
|
||||||
stride=1
|
stride=1
|
||||||
pad=1
|
pad=1
|
||||||
activation=ramp
|
activation=leaky
|
||||||
|
|
||||||
[convolutional]
|
[convolutional]
|
||||||
filters=256
|
filters=256
|
||||||
size=1
|
size=1
|
||||||
stride=1
|
stride=1
|
||||||
pad=1
|
pad=1
|
||||||
activation=ramp
|
activation=leaky
|
||||||
|
|
||||||
[convolutional]
|
[convolutional]
|
||||||
filters=512
|
filters=512
|
||||||
size=3
|
size=3
|
||||||
stride=1
|
stride=1
|
||||||
pad=1
|
pad=1
|
||||||
activation=ramp
|
activation=leaky
|
||||||
|
|
||||||
[convolutional]
|
|
||||||
filters=256
|
|
||||||
size=1
|
|
||||||
stride=1
|
|
||||||
pad=1
|
|
||||||
activation=ramp
|
|
||||||
|
|
||||||
[convolutional]
|
|
||||||
filters=1024
|
|
||||||
size=3
|
|
||||||
stride=2
|
|
||||||
pad=1
|
|
||||||
activation=ramp
|
|
||||||
|
|
||||||
[convolutional]
|
[convolutional]
|
||||||
filters=512
|
filters=512
|
||||||
size=1
|
size=1
|
||||||
stride=1
|
stride=1
|
||||||
pad=1
|
pad=1
|
||||||
activation=ramp
|
activation=leaky
|
||||||
|
|
||||||
[convolutional]
|
[convolutional]
|
||||||
filters=1024
|
filters=1024
|
||||||
size=3
|
size=3
|
||||||
stride=1
|
stride=1
|
||||||
pad=1
|
pad=1
|
||||||
activation=ramp
|
activation=leaky
|
||||||
|
|
||||||
|
[maxpool]
|
||||||
|
size=2
|
||||||
|
stride=2
|
||||||
|
|
||||||
|
[convolutional]
|
||||||
|
filters=512
|
||||||
|
size=1
|
||||||
|
stride=1
|
||||||
|
pad=1
|
||||||
|
activation=leaky
|
||||||
|
|
||||||
|
[convolutional]
|
||||||
|
filters=1024
|
||||||
|
size=3
|
||||||
|
stride=1
|
||||||
|
pad=1
|
||||||
|
activation=leaky
|
||||||
|
|
||||||
|
[convolutional]
|
||||||
|
filters=512
|
||||||
|
size=1
|
||||||
|
stride=1
|
||||||
|
pad=1
|
||||||
|
activation=leaky
|
||||||
|
|
||||||
|
[convolutional]
|
||||||
|
filters=1024
|
||||||
|
size=3
|
||||||
|
stride=1
|
||||||
|
pad=1
|
||||||
|
activation=leaky
|
||||||
|
|
||||||
|
#######
|
||||||
|
|
||||||
[convolutional]
|
[convolutional]
|
||||||
size=3
|
size=3
|
||||||
stride=1
|
stride=1
|
||||||
pad=1
|
pad=1
|
||||||
filters=1024
|
filters=1024
|
||||||
activation=ramp
|
activation=leaky
|
||||||
|
|
||||||
[convolutional]
|
[convolutional]
|
||||||
size=3
|
size=3
|
||||||
stride=2
|
stride=2
|
||||||
pad=1
|
pad=1
|
||||||
filters=1024
|
filters=1024
|
||||||
activation=ramp
|
activation=leaky
|
||||||
|
|
||||||
[convolutional]
|
[convolutional]
|
||||||
size=3
|
size=3
|
||||||
stride=1
|
stride=1
|
||||||
pad=1
|
pad=1
|
||||||
filters=1024
|
filters=1024
|
||||||
activation=ramp
|
activation=leaky
|
||||||
|
|
||||||
[convolutional]
|
[convolutional]
|
||||||
size=3
|
size=3
|
||||||
stride=1
|
stride=1
|
||||||
pad=1
|
pad=1
|
||||||
filters=512
|
filters=1024
|
||||||
activation=ramp
|
activation=leaky
|
||||||
|
|
||||||
[connected]
|
[connected]
|
||||||
output=2048
|
output=512
|
||||||
activation=ramp
|
activation=leaky
|
||||||
|
|
||||||
|
[connected]
|
||||||
|
output=4096
|
||||||
|
activation=leaky
|
||||||
|
|
||||||
[dropout]
|
[dropout]
|
||||||
probability=.5
|
probability=.5
|
||||||
|
|
||||||
[connected]
|
[connected]
|
||||||
output=1225
|
output= 1470
|
||||||
activation=logistic
|
activation=linear
|
||||||
|
|
||||||
[detection]
|
[detection]
|
||||||
classes=20
|
classes=20
|
||||||
coords=4
|
coords=4
|
||||||
rescore=1
|
rescore=1
|
||||||
joint=0
|
side=7
|
||||||
objectness=1
|
num=2
|
||||||
|
softmax=0
|
||||||
|
sqrt=1
|
||||||
|
jitter=.2
|
||||||
|
|
||||||
|
object_scale=1
|
||||||
|
noobject_scale=.5
|
||||||
|
class_scale=1
|
||||||
|
coord_scale=5
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user