提交 0a02d1f2 编写于 作者: O ouyangyu

fix range epochs

上级 302fa6a8
......@@ -137,7 +137,7 @@ def main():
print(" {} iter per epoch...".format(epoch_size))
for epoch in range(1, args.num_epochs):
for epoch in range(1, args.num_epochs + 1):
metric = Metric(
desc="train",
calculate_batches=args.loss_print_every_n_iter,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册