PaddleOCR 如何进行 batch inference #15206
Unanswered
YuanLiuuuuuu
asked this question in
Q&A
Replies: 2 comments
-
您好,paddleocr由于文本检测部分,输入的图片尺寸不一样,目前无法组batch,如果想要提升推理速度的话,可以使用 multiprocess 进行多进程推理。 |
Beta Was this translation helpful? Give feedback.
0 replies
-
对于PaddleOCR 3.0,可以通过传入一个图像列表或者包含图像的目录来一次性处理一组图像。产线中的每个模型可以有各自的batch size,通过设置相应的参数可以调整。 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
使用下面这段代码只能进行单张图片推理,请问如何将多张图片组 batch 进行推理
Beta Was this translation helpful? Give feedback.
All reactions