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
I'm having issues with using tqdm in manual mode with multiple progress bars. One bar (the inner loop/position=1) behaves correctly. The other (outer loop/position=0) behaves incorrectly. While my code should be stepping by 10% each time, I instead see 0%, 10%, 30%, 60%, 100%.
Here's the code, reduced as much as I can. It's just two loops. This implementation could work with iterable-based tqdm, but my end goal can't.
Whoops. As things things were probably destined to go with a first github issue: I'm using the code wrong :)
tqdm.update() takes a value by which to increase the progress bar, not a total value to update to. After changing my code from bar1.update(i) to bar1.update(1) (and the equivalent for bar2), everything is working as expected.
I'm having issues with using tqdm in manual mode with multiple progress bars. One bar (the inner loop/position=1) behaves correctly. The other (outer loop/position=0) behaves incorrectly. While my code should be stepping by 10% each time, I instead see 0%, 10%, 30%, 60%, 100%.
Here's the code, reduced as much as I can. It's just two loops. This implementation could work with iterable-based tqdm, but my end goal can't.
My system information:
4.31.1 3.7.2 (default, Feb 13 2019, 00:32:38)
[Clang 10.0.0 (clang-1000.11.45.5)] darwin
The text was updated successfully, but these errors were encountered: