From 30dabb010d04bebb65c724c358e939c8974f454c Mon Sep 17 00:00:00 2001 From: Steffy-zxf <48793257+Steffy-zxf@users.noreply.github.com> Date: Tue, 17 Sep 2019 18:09:57 +0800 Subject: [PATCH] Update autofinetune.md --- tutorial/autofinetune.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tutorial/autofinetune.md b/tutorial/autofinetune.md index 18213464..61e35193 100644 --- a/tutorial/autofinetune.md +++ b/tutorial/autofinetune.md @@ -140,9 +140,7 @@ if __name__ == '__main__': cls_task.load_parameters(args.model_path) logger.info("PaddleHub has loaded model from %s" % args.model_path) - run_states = cls_task.finetune() - train_avg_score, train_avg_loss, train_run_speed = cls_task._calculate_metrics(run_states) - + cls_task.finetune() run_states = cls_task.eval() eval_avg_score, eval_avg_loss, eval_run_speed = cls_task._calculate_metrics(run_states) -- GitLab