From 4b35d2020ae3f3568af8b6532645d3847d9bbc68 Mon Sep 17 00:00:00 2001 From: Zeyu Chen Date: Sun, 31 Mar 2019 18:38:09 +0800 Subject: [PATCH] fix a log error --- paddle_hub/finetune/checkpoint.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/paddle_hub/finetune/checkpoint.py b/paddle_hub/finetune/checkpoint.py index 7f62cba3..fbea9b9f 100644 --- a/paddle_hub/finetune/checkpoint.py +++ b/paddle_hub/finetune/checkpoint.py @@ -37,8 +37,7 @@ def load_checkpoint(checkpoint_dir, exe): fluid.io.load_persistables(exe, ckpt.latest_model_dir) logger.info("Checkpoint loaded. current_epoch={}," - "global_step={}".format(ckpt_meta_path, current_epoch, - global_step)) + "global_step={}".format(current_epoch, global_step)) return ckpt.current_epoch, ckpt.global_step else: current_epoch = 1 -- GitLab