diff --git a/python/paddle/fluid/io.py b/python/paddle/fluid/io.py index d7b42ef35156010088fc0a86ea1f8a2c27ae9dc9..d94564e11f982575dd9c065deb20d29396203227 100644 --- a/python/paddle/fluid/io.py +++ b/python/paddle/fluid/io.py @@ -1252,6 +1252,9 @@ def _is_checkpoint_var(var): def _make_chekcpoint_dirs(dirs): + """ + _make_chekcpoint_dirs will makdir local directory directly, when the directory is exist, it will igore it. + """ assert dirs is not None if os.path.isfile(dirs):