提交 40c65e95 编写于 作者: W WuHaobo

fix the bug of save model

上级 e964c9ed
...@@ -31,7 +31,7 @@ __all__ = ['init_model', 'save_model'] ...@@ -31,7 +31,7 @@ __all__ = ['init_model', 'save_model']
def _mkdir_if_not_exist(path): def _mkdir_if_not_exist(path):
""" """
mkdir if not exists mkdir if not exists, ignore the exception when multiprocess mkdir together
""" """
if not os.path.exists(path): if not os.path.exists(path):
try: try:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册