Darknet: Difference between the provided cfg/*.cfg files

Created on 23 Mar 2020  路  5Comments  路  Source: AlexeyAB/darknet

Hi Folks, Hi @AlexeyAB,

i try to understand what's the difference between all the configs provided in this repo, but i dont get it. Maybe someone can explain whats the difference and why i should use a outer cfg than yolov3.cfg / yolo-v3-tiny.cfg ? Does it affect my custom training if i use yolov3-voc.cfg instead of yolov3.cfg - does it make it better or badder in detection and for what is voc standing for? (Same for the other *.cfg's as well, idk what they are for "...giou-12.cfg <- what?! oO" :-D ?!

For example:
I got a custom Dataset and train it via yolov3.cfg very well. What benefit can i have or whats the difference when i use one of the other cfg's* For example yolov3-spp.cfg or yolov3-voc.cfg or the yolov3-voc.yolov3-giou-40.cfg or the yolov3.coco-giou-12.cfg.... ? What does the Gaussian_yolov3_BDD.cfg do?

I try to get the best out of my dataset but dont know what all the other cfg's files are doing and dont find any short sentences with the main pro/cons about them. Maybe someone could help me to expand my understanding? :)

Here are some cfg's idk whats the difference between them?!

yolov3-openimages.cfg
yolov3-spp.cfg
yolov3-voc.cfg
yolov3-voc.yolov3-giou-40.cfg
yolov3.cfg
yolov3.coco-giou-12.cfg
yolov3_5l.cfg
vgg-conv.cfg
vgg-16.cfg
strided.cfg
resnet50.cfg
resnet101.cfg
resnet152.cfg
resnet152_trident.cfg
resnext152-32x4d.cfg
enet-coco.cfg
efficientnet_b0.cfg
densenet201.cfg
darknet53_448_xnor.cfg
darknet53.cfg
csresnext50-panet-spp.cfg
csresnext50-panet-spp-original-optimal.cfg
Gaussian_yolov3_BDD.cfg
cifar.cfg

Most helpful comment

I've yet to come across documentation that users can reference to determine which .cfg file they should use.

In case it is useful to anyone, I've attempted to document the various .cfg files here as part of my DarkMark project: https://www.ccoderun.ca/DarkMark/Configuration.html

All 5 comments

Adding myself to this thread, as I'd like to see the answer. I've yet to come across documentation that users can reference to determine which .cfg file they should use.

  • Currently the best model for detection: csresnext50-panet-spp-original-optimal.cfg

  • Comparison of Detection models on different devices CPU vs VPU vs GPU: https://github.com/AlexeyAB/darknet/issues/5079

  • yolov3_5l.cfg - is for very small objects, or if you want to set high network resolution width=1024 height=1024

  • These Detection models are experimetal: Gaussian_yolov3_BDD.cfg, resnet152_trident.cfg, yolov3-voc.yolov3-giou-40.cfg, yolov3.coco-giou-12.cfg

Other models are for Classifiction rather than Detection - you can google about each of them:

vgg-conv.cfg
vgg-16.cfg
strided.cfg
resnet50.cfg
resnet101.cfg
resnet152.cfg
resnext152-32x4d.cfg
efficientnet_b0.cfg
densenet201.cfg
darknet53_448_xnor.cfg
darknet53.cfg
cifar.cfg

Thanks rocketman @AlexeyAB ! :-)

That means i should better use "csresnext50-panet-spp-original-optimal.cfg" than "yolov3.cfg" as it will provide better results. Does the fps will be better then with yolov3 or does it only have input on the accuracy itself?

To use csresnext50-panet-spp-original-optimal.cfg on a custom dataset do we need to adjust filters and other parameters besides classes=80?

I'm not familiar with this model and want to test it against my well trained yolov3. For that network I had to adjust multiple lines with math involving class count. Just making sure that isn't required here? If so what lines?

Thanks a bunch!

I've yet to come across documentation that users can reference to determine which .cfg file they should use.

In case it is useful to anyone, I've attempted to document the various .cfg files here as part of my DarkMark project: https://www.ccoderun.ca/DarkMark/Configuration.html

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Jacky3213 picture Jacky3213  路  3Comments

Mididou picture Mididou  路  3Comments

siddharth2395 picture siddharth2395  路  3Comments

PROGRAMMINGENGINEER-NIKI picture PROGRAMMINGENGINEER-NIKI  路  3Comments

bit-scientist picture bit-scientist  路  3Comments