提交 ee91e48e 编写于 作者: T tangwei12

fix serial number

上级 d98480cf
......@@ -654,7 +654,7 @@ class DistributeTranspiler:
if os.path.isfile(success_path):
return int(cur_dir)
if os.path.isdir(checkpoint_dir):
if not os.path.isdir(checkpoint_dir):
return "-1"
current_dir = 0
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册