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

Why are most models either light or heavy? #5729

Open
harsco-jfernandez opened this issue May 24, 2020 · 5 comments
Open

Why are most models either light or heavy? #5729

harsco-jfernandez opened this issue May 24, 2020 · 5 comments
Labels

Comments

@harsco-jfernandez
Copy link

harsco-jfernandez commented May 24, 2020

There are heavy/large models like yolov3 and yolov4 and light/small models like yolov3-tiny. These give you higher mAP + low FPS or lower mAP + high FPS.

Why is it that there aren't any models that are balanced(goldie lock zone, not too hot not too cold)? Or are there any?

@AlexeyAB
Copy link
Owner

yolov4.cfg/weights (416x416 batch=1) + tkDNN-TensorRT + Jetson Xavier AGX = 32 FPS (realtime) - 43.5% AP - 65.7% AP50 - is balanced goldie lock zone ... that lies on Pareto optimal curve. The best ever accuracy with the lowest possible latency for Real-time systems on embedded device.

@harsco-jfernandez
Copy link
Author

harsco-jfernandez commented May 25, 2020

Thank you @AlexeyAB.

I may use that in the future in a more complex dataset. yolo_v3_tiny_pan3_aa_ae_mixup is giving me an excellent mAP in the small dataset I'm using now. I will attempt to get tiny_pan3_aa to run on tkDNN, which I'm liking - deeepstream's gstreamer is overly complex.

Thanks again, I appreciate your effort. I fear someone will take notice of you any day and will steel you away from us. ;)

@AlexeyAB
Copy link
Owner

You can try to use OpenCV (compiled with CUDA+cuDNN) without Darknet for detection: https://docs.opencv.org/master/da/d9d/tutorial_dnn_yolo.html

OpenCV is only slightly slower than tkDNN-TensorRT: #5354 (comment)

How to use:

@harsco-jfernandez
Copy link
Author

@AlexeyAB

Awesome... I'll give it a go...

You know what else would be really nice... yolov4-tiny ;) ;)

Enjoy your week and thanks again

@vinorth-v
Copy link

I would also like to know if it is expected to have yolov4 tiny?

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

No branches or pull requests

3 participants