Changed smoothing in tqdm to decrease variability of time remaining between training / eval (#1194)
This commit is contained in:
parent
61177cd1c8
commit
12b39a74b4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue