You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[PipelineServicer] succ init
Traceback (most recent call last):
File "/Users/xxxxx/projectPath/PaddleOCR/deploy/pdserving/web_service.py", line 169, in
uci_service.run_service()
File "/Users/xxxxx/anaconda/envs/myEnv/lib/python3.9/site-packages/paddle_serving_server/web_service.py", line 69, in run_service
self._server.run_server()
File "/Users/xxxxx/anaconda/envs/myEnv/lib/python3.9/site-packages/paddle_serving_server/pipeline/pipeline_server.py", line 318, in run_server
self._run_grpc_gateway(
File "/Users/xxxxx/anaconda/envs/myEnv/lib/python3.9/site-packages/paddle_serving_server/pipeline/pipeline_server.py", line 148, in _run_grpc_gateway
self._proxy_server.start()
File "/Users/xxxxx/anaconda/envs/myEnv/lib/python3.9/multiprocessing/process.py", line 121, in start
self._popen = self._Popen(self)
File "/Users/xxxxx/anaconda/envs/myEnv/lib/python3.9/multiprocessing/context.py", line 224, in _Popen
return _default_context.get_context().Process._Popen(process_obj)
File "/Users/xxxxx/anaconda/envs/myEnv/lib/python3.9/multiprocessing/context.py", line 284, in _Popen
return Popen(process_obj)
File "/Users/xxxxx/anaconda/envs/myEnv/lib/python3.9/multiprocessing/popen_spawn_posix.py", line 32, in init
super().init(process_obj)
File "/Users/xxxxx/anaconda/envs/myEnv/lib/python3.9/multiprocessing/popen_fork.py", line 19, in init
self._launch(process_obj)
File "/Users/xxxxx/anaconda/envs/myEnv/lib/python3.9/multiprocessing/popen_spawn_posix.py", line 47, in _launch
reduction.dump(process_obj, fp)
File "/Users/xxxxx/anaconda/envs/myEnv/lib/python3.9/multiprocessing/reduction.py", line 60, in dump
ForkingPickler(file, protocol).dump(obj)
TypeError: cannot pickle '_thread.lock' object
The text was updated successfully, but these errors were encountered:
mac os : 10.15.7
python: 3.9.17
paddlepaddle: 2.5.0
paddle-serving-app 0.8.3
paddle-serving-client 0.8.3
paddle-serving-server 0.8.3
安装的是cpu版本的,按照https://github.com/PaddlePaddle/PaddleOCR/blob/release/2.6/deploy/pdserving/README_CN.md操作,执行到python3 web_service.py --config=config.yml &>log.txt &的时候报下面的错误
[PipelineServicer] succ init
Traceback (most recent call last):
File "/Users/xxxxx/projectPath/PaddleOCR/deploy/pdserving/web_service.py", line 169, in
uci_service.run_service()
File "/Users/xxxxx/anaconda/envs/myEnv/lib/python3.9/site-packages/paddle_serving_server/web_service.py", line 69, in run_service
self._server.run_server()
File "/Users/xxxxx/anaconda/envs/myEnv/lib/python3.9/site-packages/paddle_serving_server/pipeline/pipeline_server.py", line 318, in run_server
self._run_grpc_gateway(
File "/Users/xxxxx/anaconda/envs/myEnv/lib/python3.9/site-packages/paddle_serving_server/pipeline/pipeline_server.py", line 148, in _run_grpc_gateway
self._proxy_server.start()
File "/Users/xxxxx/anaconda/envs/myEnv/lib/python3.9/multiprocessing/process.py", line 121, in start
self._popen = self._Popen(self)
File "/Users/xxxxx/anaconda/envs/myEnv/lib/python3.9/multiprocessing/context.py", line 224, in _Popen
return _default_context.get_context().Process._Popen(process_obj)
File "/Users/xxxxx/anaconda/envs/myEnv/lib/python3.9/multiprocessing/context.py", line 284, in _Popen
return Popen(process_obj)
File "/Users/xxxxx/anaconda/envs/myEnv/lib/python3.9/multiprocessing/popen_spawn_posix.py", line 32, in init
super().init(process_obj)
File "/Users/xxxxx/anaconda/envs/myEnv/lib/python3.9/multiprocessing/popen_fork.py", line 19, in init
self._launch(process_obj)
File "/Users/xxxxx/anaconda/envs/myEnv/lib/python3.9/multiprocessing/popen_spawn_posix.py", line 47, in _launch
reduction.dump(process_obj, fp)
File "/Users/xxxxx/anaconda/envs/myEnv/lib/python3.9/multiprocessing/reduction.py", line 60, in dump
ForkingPickler(file, protocol).dump(obj)
TypeError: cannot pickle '_thread.lock' object
The text was updated successfully, but these errors were encountered: