Closed 934453938 closed 10 months ago
命令不对吧,既然你要用到多线程,你应该指定线程数或者其他,上面的是参数后面需要你指定具体值 eg:--use_multiprocess True --workers 10
命令不对吧,既然你要用到多线程,你应该指定线程数或者其他,上面的是参数后面需要你指定具体值 eg:--use_multiprocess True --workers 10
--use_multiprocess和--workers都是有默认值的,--use_multiprocess的默认值是true,指定为True,服务启动的时候就会报错
你这个命令是不是有问题 ,参考这里
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.
我已收到你的邮件
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.
纯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'))