未验证 提交 30dabb01 编写于 作者: S Steffy-zxf 提交者: GitHub

Update autofinetune.md

上级 d627511a
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册