提交 b3cce581 编写于 作者: H HexToString

update comment

上级 58e2b229
......@@ -147,7 +147,7 @@ def start_gpu_card_model(gpu_mode, port, args): # pylint: disable=doc-string-mi
op_seq_maker.add_op(read_op)
for idx, single_model in enumerate(model):
infer_op_name = "general_infer"
if len(model) == 2 and idx == 0:
if len(model) == 2 and idx == 0 and single_model == "ocr_det_model":
infer_op_name = "general_detection"
else:
infer_op_name = "general_infer"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册