-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
no progress printed for lengths 1 or 2 #258
Comments
There's a minimum amount of time that must elapse before the progress bar is printed. This is deliberate, to avoid a performance hit in cases where the progress bar doesn't serve any real utility. |
Can that be made customizable? I'm writing a deep learning library and I need it for consistency of the visual experience + some metrics are printed by the progress bar |
It already is. But it's possible there's a bug (I'm not seeing output even with |
When the length of the iterator is 1 or 2 the progress bar is not printed at all:
For consistency, I think that a progress bar should be printed in any case at the end of the loop no matter what the length of the iterator is and also no matter how large/small the
dt
option in the progress bar is.The text was updated successfully, but these errors were encountered: