From ce19c9557b605ccb55793119559e5cc74973f394 Mon Sep 17 00:00:00 2001 From: frankwhzhang Date: Mon, 22 Oct 2018 15:07:48 +0800 Subject: [PATCH] fix python3 print problem --- fluid/recommendation/gru4rec/train.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fluid/recommendation/gru4rec/train.py b/fluid/recommendation/gru4rec/train.py index 2dee0932..20b2ef26 100644 --- a/fluid/recommendation/gru4rec/train.py +++ b/fluid/recommendation/gru4rec/train.py @@ -120,7 +120,7 @@ def train(train_reader, fetch_list = [avg_cost.name] for pass_idx in six.moves.xrange(pass_num): epoch_idx = pass_idx + 1 - print "epoch_%d start" % epoch_idx + print("epoch_%d start" % epoch_idx) t0 = time.time() i = 0 -- GitLab