Open LouiseAbela opened 6 years ago
Just to get an idea the chart looks like this after almost 60000 epochs. Thanks again :)
Hi,
filters=
did you use in penultimate conv layer?classes=
and num=
did you use in region-layer?darknet detector map
...And thanks for answering :).
Check, do you use in yolov2-tiny.cfg?
batch=64
subdivisions=2
And removed any other lines with batch and subdivision?
Do you try to train for the first 7 classes?
person
bicycle
car
motorbike
aeroplane
bus
train
If all are correct, the try to use in cfg-file
learning_rate=0.001
max_batches = 120000
policy=steps
steps=-1,100,80000,100000
scales=.1,10,.1,.1
Hi,
Yes I am using that configuration and have those values for the batches, and have the testing ones commented.
Not the first 7 but I did of course create the new labels with the new indexes, and double checked with the old that the annotations are correct.
person
bicycle
car
motorbike
bus
cat
dog
I will try that today and get back to you :)
Thanks again !
Hi @LouiseAbela
@AlexeyAB I will let you know sorry didn't had the time to get to it, just started the training now.
@RushNuts
[net]
batch=64
subdivisions=8
width=416
height=416
channels=3
momentum=0.9
decay=0.0005
angle=0
saturation = 1.5
exposure = 1.5
hue=.1
learning_rate=0.001
max_batches = 120000
policy=steps
steps=-1,100,80000,100000
scales=.1,10,.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
###########
[convolutional]
batch_normalize=1
size=3
stride=1
pad=1
filters=512
activation=leaky
[convolutional]
size=1
stride=1
pad=1
filters=60
activation=linear
[region]
anchors = 0.57273, 0.677385, 1.87446, 2.06253, 3.33843, 5.47434, 7.88282, 3.52778, 9.77052, 9.16828
bias_match=1
classes=7
coords=4
num=5
softmax=1
jitter=.2
rescore=0
object_scale=5
noobject_scale=1
class_scale=1
coord_scale=1
absolute=1
thresh = .6
random=1
@LouiseAbela okay, thanks for your answer. I'll wait you. One more thing, which pre-trained model you use? darknet19_448?
@AlexeyAB @RushNuts, still the maP stays really low 👎. I don't know what to change more with it.
No no I used - yolov2-tiny.weights and then convert them to .conv.13, but I also trained it without weights it doesn't help. I try to debug it a little and see what is happening, maybe it's just a stupid mistake.
@LouiseAbela I have a similar problem. AVG does not go below 1.5, of this the percentage of detection is very low and many false positives. My .cfg file is the same as yours, also used .conv.13 after conversion...uh
Hi ,@LouiseAbela , @RushNuts Do you have any idea training tiny yolov2? I use .conv.13 weight and VOC dataset, but the mAP is lower than website.
Hi,
I tried a lot of things and can't find out how to do it. When training with COCO but only 7 classes using yolov2-tiny as config and weights, and change the classes to 7 and filters to 60, the error stays around 2 and doesn't go down. Does anyone have a clue why please?
Thanks very much!