You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
🐛 tqdm_logger does not take epoch_length into account
When calling Engine.run() with a custom epoch_length,
the tqdm progress bar does not adapt and displays the full number of batches in the data.
Here is a minimal example:
We have 100 items in data but the true end of the epoch is at 50 iterations, yet the progress is displayed over the range of 100 and just ends midway, when I expect it to be displayed over the range of 50, thus ending when the bar is full.
One can not overwrite tqdm's total argument by replacing
🐛
tqdm_logger
does not takeepoch_length
into accountWhen calling
Engine.run()
with a customepoch_length
,the tqdm progress bar does not adapt and displays the full number of batches in the data.
Here is a minimal example:
We have 100 items in
data
but the true end of the epoch is at 50 iterations, yet the progress is displayed over the range of 100 and just ends midway, when I expect it to be displayed over the range of 50, thus ending when the bar is full.One can not overwrite tqdm's
total
argument by replacingby
for it raises
TypeError: type object got multiple values for keyword argument 'total'
.Environment
pip
The text was updated successfully, but these errors were encountered: