未验证 提交 f5c0ec27 编写于 作者: Y Yibing Liu 提交者: GitHub

Merge pull request #1 from tianxin1860/develop

stop training by num_train_steps
......@@ -335,7 +335,7 @@ def train(args):
lm_cost = []
acc = []
time_begin = time.time()
while True:
while steps < args.num_train_steps:
try:
steps += nccl2_num_trainers
skip_steps = args.skip_steps * nccl2_num_trainers
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册