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

yolov5 nms支持CUDA加速 #1500

Open
RemeberMeX opened this issue Apr 25, 2024 · 5 comments
Open

yolov5 nms支持CUDA加速 #1500

RemeberMeX opened this issue Apr 25, 2024 · 5 comments

Comments

@RemeberMeX
Copy link

您好,
是否考虑在yolov5中增加nms使用cuda加速推理?

@wang-xinyu
Copy link
Owner

意义不大,yololayer已经对输出做了过滤,nms计算的bbox很少

@RemeberMeX
Copy link
Author

感谢您的回复,可能在密集样本中,当obj多的时候,nms还是会有1ms左右的耗时

@wang-xinyu
Copy link
Owner

1ms在大多数应用场景可以忽略了

也可以尝试手动添加nms plugin试试

@lindsayshuo
Copy link
Contributor

感谢您的回复,可能在密集样本中,当obj多的时候,nms还是会有1ms左右的耗时

https://github.com/upczww/YoLov5-TensorRT-NMS可以参考这个,然后做个pr

@RemeberMeX
Copy link
Author

RemeberMeX commented May 7, 2024 via email

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

3 participants