From 12b39a74b4d5892c03115770b1d0b796ff941b57 Mon Sep 17 00:00:00 2001 From: Jack Pertschuk Date: Fri, 27 Mar 2020 09:22:53 -0400 Subject: [PATCH] Changed smoothing in tqdm to decrease variability of time remaining between training / eval (#1194) --- pytorch_lightning/trainer/trainer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pytorch_lightning/trainer/trainer.py b/pytorch_lightning/trainer/trainer.py index 4b8a42aba9..8a4d4dc6cd 100644 --- a/pytorch_lightning/trainer/trainer.py +++ b/pytorch_lightning/trainer/trainer.py @@ -909,7 +909,7 @@ class Trainer( # init progress bar pbar = tqdm(leave=True, position=2 * self.process_position, disable=not self.show_progress_bar, dynamic_ncols=True, - file=sys.stdout) + file=sys.stdout, smoothing=0) self.main_progress_bar = pbar # clear cache before training