fix the bug of save model

pull/13/head
WuHaobo 2020-04-11 01:21:31 +08:00
parent e964c9edd5
commit 40c65e952b
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ __all__ = ['init_model', 'save_model']
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):
try: