PaddlePaddle / PaddleOCR

Awesome multilingual OCR toolkits based on PaddlePaddle (practical ultra lightweight OCR system, support 80+ languages recognition, provide data annotation and synthesis tools, support training and deployment among server, mobile, embedded and IoT devices)
https://paddlepaddle.github.io/PaddleOCR/
Apache License 2.0
44.66k stars 7.86k forks source link

use_multiprocess参数问题 #4167

Closed 934453938 closed 10 months ago

934453938 commented 3 years ago

纯CPU机器 使用hub serving start -m chinese_ocr_db_crnn_server启动没有问题 使用hub serving start -m chinese_ocr_db_crnn_server --use_multiprocess --workers启动就一直报错: File "D:\Program\anaconda3\lib\site-packages\requests\adapters.py", line 498, in send raise ConnectionError(err, request=request) requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))

BeyondYourself commented 3 years ago

命令不对吧,既然你要用到多线程,你应该指定线程数或者其他,上面的是参数后面需要你指定具体值 eg:--use_multiprocess True --workers 10

934453938 commented 3 years ago

命令不对吧,既然你要用到多线程,你应该指定线程数或者其他,上面的是参数后面需要你指定具体值 eg:--use_multiprocess True --workers 10

--use_multiprocess和--workers都是有默认值的,--use_multiprocess的默认值是true,指定为True,服务启动的时候就会报错

BeyondYourself commented 3 years ago

你这个命令是不是有问题 ,参考这里

934453938 commented 3 years ago

你这个命令是不是有问题 ,参考这里

我的命令没有问题,就是参考教程来的。。。

github-actions[bot] commented 1 year ago

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.

hanzhangyu commented 1 year ago

我已收到你的邮件

github-actions[bot] commented 11 months ago

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.