未验证 提交 0494239b 编写于 作者: Y Yang Zhang 提交者: GitHub

Reduce logging verbosity when loading checkpoints (#24287)

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