提交 2b3c4a0a 编写于 作者: Q qingqing01

Fix py3

上级 a08ac369
......@@ -27,7 +27,7 @@ class TestProgressBar(unittest.TestCase):
['loss', 50.341673],
['acc', 0.00256],
]
for step in xrange(1, num + 1):
for step in range(1, num + 1):
values[0][1] -= random.random() * 0.1
values[1][1] += random.random() * 0.1
if step % 10 == 0:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册