-
-
Notifications
You must be signed in to change notification settings - Fork 16.3k
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
Do you speed up by TensorRT ? #45
Comments
Hello @wu-ruijie, thank you for your interest in our work! Please visit our Custom Training Tutorial to get started, and see our Jupyter Notebook , Docker Image, and Google Cloud Quickstart Guide for example environments. If this is a bug report, please provide screenshots and minimum viable code to reproduce your issue, otherwise we can not help you. If this is a custom model or data training question, please note that Ultralytics does not provide free personal support. As a leader in vision ML and AI, we do offer professional consulting, from simple expert advice up to delivery of fully customized, end-to-end production solutions for our clients, such as:
For more information please visit https://www.ultralytics.com. |
@wang-xinyu did a great TensorRT implementation of our https://github.com/ultralytics/yolov3 repo here (which supports both YOLOv3 and YOLOv4), he might best answer this question. |
Tensor core support would be amazing! |
Hi! I tested yolo5-s on cpu by directly running detect.py and the inference speed is only 3 fps.Could you please give me some advice?I want to make it 30 fps at least. |
@sljlp one caveat is --img-size must be a multiple of the largest stride, 32. So acceptable sizes are 320, 288, 256, etc. |
Update: I've pushed more robust error-checking on --img-size now in 099e6f5, so if a user accidentally requests an invalid size (which is not divisible by 32), the code will warn and automatically correct the value to the nearest valid --img-size. |
@glenn-jocher Can you provide yolov5.weights file. I've found that to convert yolo to tensorrt, we need the weights file to use with (https://github.com/wang-xinyu/tensorrtx/) |
@thancaocuong there is no such file. |
I have a python implementation here, with NMS, https://github.com/TrojanXu/yolov5-tensorrt |
I just implemented yolov5-s in my repo https://github.com/wang-xinyu/tensorrtx/tree/master/yolov5
|
Update! My tensorrt implementation already updated according to this commit 364fcfd The PANet updated. Please find my repo https://github.com/wang-xinyu/tensorrtx |
Thanks for sharing! Do you have plans to implement other yolov5 versions as well? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
We have updated the yolov5 tensorrt according to the v2.0 release of this repo. And made speed test on my machine.
please find https://github.com/wang-xinyu/tensorrtx. @glenn-jocher could you also add a link to https://github.com/wang-xinyu/tensorrtx in your Tutorials section? |
@wang-xinyu thanks, yes this is a good idea. Can you submit a PR for the README please? EDIT: I'll add a link to the export tutorial also. |
Thx for your work, I just wonder how do u test FPS with batchsize. |
v5 is so fast! I even dare to imagine how fast it is speeded up by TensorRT, Do you has any job about it ?
The text was updated successfully, but these errors were encountered: