Use non-deprectated parameter for progressbar

This commit is contained in:
Matthias 2020-05-01 17:59:24 +02:00
parent 25d9001f88
commit 509f38d3aa

View File

@ -648,7 +648,7 @@ class Hyperopt:
' [', progressbar.ETA(), ', ', progressbar.Timer(), ']',
]
with progressbar.ProgressBar(
maxval=self.total_epochs, redirect_stdout=False, redirect_stderr=False,
max_value=self.total_epochs, redirect_stdout=False, redirect_stderr=False,
widgets=widgets
) as pbar:
EVALS = ceil(self.total_epochs / jobs)