From afc65d54de0a1761134b6b595d96ed900a6fc586 Mon Sep 17 00:00:00 2001 From: heya02 Date: Thu, 6 Aug 2020 03:40:01 +0000 Subject: [PATCH] update --- python/paddle_fl/mpc/examples/uci_demo/uci_housing_demo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/paddle_fl/mpc/examples/uci_demo/uci_housing_demo.py b/python/paddle_fl/mpc/examples/uci_demo/uci_housing_demo.py index 1fb5747..1f3e4a1 100644 --- a/python/paddle_fl/mpc/examples/uci_demo/uci_housing_demo.py +++ b/python/paddle_fl/mpc/examples/uci_demo/uci_housing_demo.py @@ -75,7 +75,7 @@ for epoch_id in range(epoch_num): mpc_loss = exe.run(feed=sample, fetch_list=[avg_loss]) step_end = time.time() - if step % 5 == 0: + if step % 50 == 0: print('Epoch={}, Step={}, batch_cost={:.4f} s, Loss={},'.format(epoch_id, step, (step_end - step_start), mpc_loss)) with open(loss_file, 'ab') as f: -- GitLab