From 7e380134c5f01c3c79cacec1d63632c20eba8594 Mon Sep 17 00:00:00 2001 From: HexToString <506181616@qq.com> Date: Mon, 5 Jul 2021 03:52:43 +0000 Subject: [PATCH] add comment --- python/paddle_serving_server/serve.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python/paddle_serving_server/serve.py b/python/paddle_serving_server/serve.py index f22745a8..e97da72c 100755 --- a/python/paddle_serving_server/serve.py +++ b/python/paddle_serving_server/serve.py @@ -150,6 +150,7 @@ def start_gpu_card_model(gpu_mode, port, args): # pylint: disable=doc-string-mi # 目前由于ocr的节点Det模型依赖于opencv的第三方库 # 只有使用ocr的时候,才会加入opencv的第三方库并编译GeneralDetectionOp # 故此处做特殊处理,当不满足下述情况时,所添加的op默认为GeneralInferOp + # 以后可能考虑不用python脚本来生成配置 if len(model) == 2 and idx == 0 and single_model == "ocr_det_model": infer_op_name = "general_detection" else: -- GitLab