-
Notifications
You must be signed in to change notification settings - Fork 8k
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
单GPU情况下多张图片并行推理 #9544
Labels
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions. |
和你同样的问题,看了好多人的提问,差不多两年前就有人问了,现在也没有合适的方法~!ㅠ_ㅠ |
提升非常有限,只能波动而不持续地带来不到20%的速度提升…… |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
系统环境/System Environment:Ubuntu 18.04
版本号/Version:Paddle:2.4.2.post112 PaddleOCR:2.6.1.3
我们通常输入单张图片到PaddleOCR模型中,像下面这样:
multiprocessing
创建N个进程,N个进程分别放置一个独立的PaddleOCR模型,最后将这些图片以参数传入这些进程进行推理。下面是简要的实现代码和出现的报错:但我发现Paddle并不能简单以参数形式传入多进程?报错信息如下:
请问关于单GPU下多种图像并行推理有什么好的建议吗?谢谢!
The text was updated successfully, but these errors were encountered: