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
When the length of the iterator is 1 or 2 the progress bar is not printed at all:
julia>@showprogressfor i in1:1; sleep(1) ; end
julia>@showprogressfor i in1:2; sleep(1) ; end
julia>@showprogressfor i in1:3; sleep(1) ; end
Progress:100%|██████████████████████████| Time:0:00:03
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:
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 @showprogress 0.1 for i = 1:2...). Should be an easy fix, care to take a look?
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: