fix the bug of save model

This commit is contained in:
WuHaobo 2020-04-11 01:22:14 +08:00
parent 40c65e952b
commit c3b973d977

View File

@ -42,7 +42,7 @@ def _mkdir_if_not_exist(path):
'be happy if some process has already created {}'.format(
path))
else:
raise OSError('failed to mkdir {}'.format(path))
raise OSError('Failed to mkdir {}'.format(path))
def _load_state(path):