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 1fb5747da41adb212938f59274c0d7433b853634..1f3e4a1b959d04ec695bbf50e7942bb9ae1e1783 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: