未验证 提交 31159f9b 编写于 作者: H huangjianhui 提交者: GitHub

Update web_service.py

上级 e3498b6e
......@@ -261,6 +261,7 @@ class WebService(object):
self.gpu_multi_stream = gpu_multi_stream
self.runtime_thread_num = runtime_thread_num
self.batch_infer_size = batch_infer_size
# record port and pid info for stopping process
dump_pid_file([self.port], "web_service")
# if gpuid != None, we will use gpuid first.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册