Changed smoothing in tqdm to decrease variability of time remaining between training / eval (#1194)

This commit is contained in:
Jack Pertschuk 2020-03-27 09:22:53 -04:00 committed by GitHub
parent 61177cd1c8
commit 12b39a74b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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