From adc64aade4e11532a4bcc6eaeac0b442e63a023b Mon Sep 17 00:00:00 2001 From: liuyuhui Date: Mon, 31 Aug 2020 11:10:34 +0000 Subject: [PATCH] fix a bug for SingleInferRunner --- core/trainers/framework/runner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/trainers/framework/runner.py b/core/trainers/framework/runner.py index 854528d5..1397f451 100644 --- a/core/trainers/framework/runner.py +++ b/core/trainers/framework/runner.py @@ -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"] -- GitLab