From 0494239b1f28ffb1ab984c06c08e0542d0ccb324 Mon Sep 17 00:00:00 2001 From: Yang Zhang Date: Wed, 3 Jun 2020 11:20:39 +0800 Subject: [PATCH] Reduce logging verbosity when loading checkpoints (#24287) test=develop --- python/paddle/fluid/io.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/paddle/fluid/io.py b/python/paddle/fluid/io.py index e127c3dd47..3e32c4ec55 100644 --- a/python/paddle/fluid/io.py +++ b/python/paddle/fluid/io.py @@ -1712,7 +1712,7 @@ def load(program, model_path, executor=None, var_list=None): if not os.path.exists(parameter_file_name): # model file save by fluid.save not found, try to load model file saved with # [save_vars, save_params, save_persistables] - _logger.warning( + _logger.debug( "{} not found, try to load model file saved with [ save_params, save_persistables, save_vars ]". format(parameter_file_name)) if executor is None: @@ -1876,7 +1876,7 @@ def load_program_state(model_path, var_list=None): if not os.path.exists(parameter_file_name): # model file saved with fluid.save is not found, try to load model file saved with # [save_vars, save_params, save_persistables] - _logger.warning( + _logger.debug( "{} not found, try to load model file saved with [ save_params, save_persistables, save_vars ]". format(parameter_file_name)) -- GitLab