From 2f9e086a2f70a5120f72db227adabfee834eb515 Mon Sep 17 00:00:00 2001 From: shangliang Xu Date: Fri, 4 Mar 2022 21:57:48 +0800 Subject: [PATCH] silence ema save log (#5305) --- ppdet/utils/checkpoint.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ppdet/utils/checkpoint.py b/ppdet/utils/checkpoint.py index e628fb009..657f4257a 100644 --- a/ppdet/utils/checkpoint.py +++ b/ppdet/utils/checkpoint.py @@ -232,4 +232,4 @@ def save_model(model, save_dir, save_name, last_epoch, optimizer=None): state_dict = optimizer.state_dict() state_dict['last_epoch'] = last_epoch paddle.save(state_dict, save_path + ".pdopt") - logger.info("Save checkpoint: {}".format(save_dir)) + logger.info("Save checkpoint: {}".format(save_dir)) -- GitLab