Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Difference between the provided cfg/*.cfg files #5092

Open
flowzen1337 opened this issue Mar 23, 2020 · 5 comments
Open

Difference between the provided cfg/*.cfg files #5092

flowzen1337 opened this issue Mar 23, 2020 · 5 comments

Comments

@flowzen1337
Copy link

flowzen1337 commented Mar 23, 2020

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

@stephanecharette
Copy link
Collaborator

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.

@AlexeyAB
Copy link
Owner

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

  • Comparison of Detection models on different devices CPU vs VPU vs GPU: Comparison of some models on CPU vs VPU (neurochip) vs GPU #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

@flowzen1337
Copy link
Author

flowzen1337 commented Mar 23, 2020

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?

@acidtonic
Copy link

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!

@stephanecharette
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants