未验证 提交 6941a7d6 编写于 作者: F frankwhzhang 提交者: GitHub

Merge pull request #1376 from frankwhzhang/gru4rec

fix python3 print bug
...@@ -120,7 +120,7 @@ def train(train_reader, ...@@ -120,7 +120,7 @@ def train(train_reader,
fetch_list = [avg_cost.name] fetch_list = [avg_cost.name]
for pass_idx in six.moves.xrange(pass_num): for pass_idx in six.moves.xrange(pass_num):
epoch_idx = pass_idx + 1 epoch_idx = pass_idx + 1
print "epoch_%d start" % epoch_idx print("epoch_%d start" % epoch_idx)
t0 = time.time() t0 = time.time()
i = 0 i = 0
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册