提交 adc64aad 编写于 作者: L liuyuhui

fix a bug for SingleInferRunner

上级 457f693c
......@@ -585,7 +585,7 @@ class SingleInferRunner(RunnerBase):
def _load(self, context, model_dict, model_path):
if model_path is None or model_path == "":
return
logger.info("load persistables from", model_path)
logger.info("load persistables from {}".format(model_path))
with fluid.scope_guard(context["model"][model_dict["name"]]["scope"]):
train_prog = context["model"][model_dict["name"]]["main_program"]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册