We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
请提供下述完整信息以便快速定位问题/Please provide the following information to quickly locate the problem
我们提供了AceIssueSolver来帮助你解答问题,你是否想要它来解答(请填写yes/no)?/We provide AceIssueSolver to solve issues, do you want it? (Please write yes/no): yes
问题:使用PaddleOCR C++部署,通过多次初始化PPOCR生成多个模型,可以直接用多线程推理多个模型吗? 我目前测试,使用一个模型推理,是正常可以的。初始化多个PPOCR对象,生成的多个模型,进行多线程推理,只有一个线程是可以用的。其他线程,都是无法正常推理的。怎么样修改PaddleOCR C++的源码,可以快速用于多线程推理。还是只能用Paddle_inference中的提到的Clone(),复制多份模型,重写推理函数Run()。
The text was updated successfully, but these errors were encountered:
我使用Paddle的FastDeploy中的多线程Demo,直接多线程运行,也报错呀。是Demo有问题,还是我的问题。有没有多线程的解决方案?
Sorry, something went wrong.
我也遇到了多线程推理报错,单线程正常,请问您最后是怎么解决的?
This issue is stale because it has been open for 90 days with no activity.
tink2123
No branches or pull requests
请提供下述完整信息以便快速定位问题/Please provide the following information to quickly locate the problem
我们提供了AceIssueSolver来帮助你解答问题,你是否想要它来解答(请填写yes/no)?/We provide AceIssueSolver to solve issues, do you want it? (Please write yes/no): yes
问题:使用PaddleOCR C++部署,通过多次初始化PPOCR生成多个模型,可以直接用多线程推理多个模型吗? 我目前测试,使用一个模型推理,是正常可以的。初始化多个PPOCR对象,生成的多个模型,进行多线程推理,只有一个线程是可以用的。其他线程,都是无法正常推理的。怎么样修改PaddleOCR C++的源码,可以快速用于多线程推理。还是只能用Paddle_inference中的提到的Clone(),复制多份模型,重写推理函数Run()。
The text was updated successfully, but these errors were encountered: