提交 66e030c5 编写于 作者: B barrierye

test=serving

上级 6e1499c2
...@@ -231,7 +231,7 @@ class Server(object): ...@@ -231,7 +231,7 @@ class Server(object):
# At present, Serving needs to configure the model path in # At present, Serving needs to configure the model path in
# the resource.prototxt file to determine the input and output # the resource.prototxt file to determine the input and output
# format of the workflow. To ensure that the input and output # format of the workflow. To ensure that the input and output
# of multiple models are the same # of multiple models are the same.
workflow_oi_config_path = None workflow_oi_config_path = None
if isinstance(model_config_paths, str): if isinstance(model_config_paths, str):
# If there is only one model path, use the default infer_op. # If there is only one model path, use the default infer_op.
......
...@@ -266,7 +266,7 @@ class Server(object): ...@@ -266,7 +266,7 @@ class Server(object):
# At present, Serving needs to configure the model path in # At present, Serving needs to configure the model path in
# the resource.prototxt file to determine the input and output # the resource.prototxt file to determine the input and output
# format of the workflow. To ensure that the input and output # format of the workflow. To ensure that the input and output
# of multiple models are the same # of multiple models are the same.
workflow_oi_config_path = None workflow_oi_config_path = None
if isinstance(model_config_paths, str): if isinstance(model_config_paths, str):
# If there is only one model path, use the default infer_op. # If there is only one model path, use the default infer_op.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册