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

yolov8模型的推理时间只要8-10ms,但是线程创建时间却花费几乎300ms,怎么能提高时间,让其不重复的start()和join() #1613

Open
lijiantao-li opened this issue Dec 17, 2024 · 1 comment

Comments

@lijiantao-li
Copy link

问题主要出现在thread1的创建上

@lijiantao-li lijiantao-li changed the title yolov8模型的推理时间只要8-10ms,但是线程创建时间却花费几乎300ms,怎么能提高时间,让其不发福的start()和join() yolov8模型的推理时间只要8-10ms,但是线程创建时间却花费几乎300ms,怎么能提高时间,让其不重复的的start()和join() Dec 17, 2024
@lijiantao-li lijiantao-li changed the title yolov8模型的推理时间只要8-10ms,但是线程创建时间却花费几乎300ms,怎么能提高时间,让其不重复的的start()和join() yolov8模型的推理时间只要8-10ms,但是线程创建时间却花费几乎300ms,怎么能提高时间,让其不重复的start()和join() Dec 17, 2024
@wang-xinyu
Copy link
Owner

start & join这里只是demo作用,实际应用中,只需要初始化一次,推理时调用infer接口即可。

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

2 participants