未验证 提交 4d1ce107 编写于 作者: H Hui Zhang 提交者: GitHub

Merge pull request #853 from Jackwaterveg/fix_bug

Fix bug of parallel using condition
......@@ -139,7 +139,7 @@ class Trainer():
"""A flag indicating whether the experiment should run with
multiprocessing.
"""
return self.args.nprocs > 0
return self.args.nprocs > 1
def init_parallel(self):
"""Init environment for multiprocess training.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册