diff --git a/ppdet/utils/checkpoint.py b/ppdet/utils/checkpoint.py index e628fb0097293957556640b3ff2548a6369f32aa..657f4257afddc71c5d6cf21de902538ef2fb25df 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))