win10下用conda建立的虚拟paddle环境启动server报错
Created by: liangruofei
想在windows下运行serving,报错如下 (paddlepaddle) D:\Desktop\serving\uav\serving_model\cascade_rcnn_dcn_r50_vd_fpn_3x_server_side>python -m paddle_serving_server_gpu.serve --thread 10 --model serving_server --port 9292 --gpu_id 0 --use_multilang 子目录或文件 workdir_0 已经存在。 'touch' 不是内部或外部命令,也不是可运行的程序 或批处理文件。 'touch' 不是内部或外部命令,也不是可运行的程序 或批处理文件。 Process Process-1: Traceback (most recent call last): File "D:\Anaconda3\envs\paddlepaddle\lib\multiprocessing\process.py", line 297, in _bootstrap self.run() File "D:\Anaconda3\envs\paddlepaddle\lib\multiprocessing\process.py", line 99, in run self._target(*self._args, **self.kwargs) File "D:\Anaconda3\envs\paddlepaddle\lib\site-packages\paddle_serving_server_gpu\serve.py", line 72, in start_gpu_card_model server.run_server() File "D:\Anaconda3\envs\paddlepaddle\lib\site-packages\paddle_serving_server_gpu_init.py", line 739, in run_server p_bserver.start() File "D:\Anaconda3\envs\paddlepaddle\lib\multiprocessing\process.py", line 112, in start self._popen = self._Popen(self) File "D:\Anaconda3\envs\paddlepaddle\lib\multiprocessing\context.py", line 223, in _Popen return _default_context.get_context().Process._Popen(process_obj) File "D:\Anaconda3\envs\paddlepaddle\lib\multiprocessing\context.py", line 322, in _Popen return Popen(process_obj) File "D:\Anaconda3\envs\paddlepaddle\lib\multiprocessing\popen_spawn_win32.py", line 89, in init reduction.dump(process_obj, to_child) File "D:\Anaconda3\envs\paddlepaddle\lib\multiprocessing\reduction.py", line 60, in dump ForkingPickler(file, protocol).dump(obj) _pickle.PicklingError: Can't pickle <class 'server_configure_pb2.InferServiceConf'>: it's not the same object as server_configure_pb2.InferServiceConf Traceback (most recent call last): File "", line 1, in File "D:\Anaconda3\envs\paddlepaddle\lib\multiprocessing\spawn.py", line 99, in spawn_main new_handle = reduction.steal_handle(parent_pid, pipe_handle) File "D:\Anaconda3\envs\paddlepaddle\lib\multiprocessing\reduction.py", line 82, in steal_handle _winapi.PROCESS_DUP_HANDLE, False, source_pid) OSError: [WinError 87] 参数错误。