提交 438e7310 编写于 作者: C chenguowei01

fix bug. iter start from 0 when resume

上级 f4ee7706
......@@ -79,7 +79,7 @@ def train(model,
train_batch_cost = 0.0
timer.start()
iter = 0
iter = start_iter
while iter < iters:
for data in loader:
iter += 1
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册