-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
pull/fetch: progress bar is all over the console output #3565
Comments
Hi, @xnutsive. Thanks for opening this issue. The files that you are downloading are small, and hence looks flickering, and is a problem on the #3500 set a threshold for showing maximum number of bars and hides them (it was more crazier before), but we still need to unify multiple bars into a single bar. This was done on upstream tqdm/tqdm#924. Related/part-of #2905. @casperdcl, I assume this is going to be a bit nicer with tqdm/tqdm#930. I notice that the bars are getting placed randomly on each render making it look flickery? |
The ordering isn't random - the screen is actually "full" of bars "in order." To maintain the order, the whole screen below a bar is cleared when said bar completes, and the cleared bars are moved upwards. However, some (most) are randomly skipping display for speed purposes. tqdm/tqdm#930 will actually fix this by changing to random ordering. This means finished bars get replaced without clearing others. (disclaimer: this is a simplified explanation; in practice it's a little more complicated because concurrency + UI + cross-platform support + speed optimisation = 4 x |
Experience-wise (please take this with a grain of salt, I'm not by any means a serious ML practitioner), a single pbar would be nicer — I don't really care how much of a specific image / text is downloaded, I just care about the whole data downloading / uploading process.
I've read another issue where you discuss this and I imagine doing a single pbar is a ton of work though ;)
Let me know if I can be useful in the meantime!
…On Tue, Mar 31, 2020 at 11:52 PM, Casper da Costa-Luis < ***@***.*** > wrote:
The ordering isn't random - the screen is actually "full" of bars "in
order." To maintain the order, the whole screen below a bar is cleared
when said bar completes, and the cleared bars are moved upwards. However,
some (most) are randomly skipping display for speed purposes.
tqdm/ tqdm#930 ( tqdm/tqdm#930 ) will actually fix
this by changing to random ordering. This means finished bars get replaced
without clearing others.
(disclaimer: this is a simplified explanation; in practice it's a little
more complicated because concurrency + UI + cross-platform support + speed
optimisation = 4 x hell hard)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub (
#3565 (comment) ) , or
unsubscribe (
https://github.com/notifications/unsubscribe-auth/AAAKU4IJX6UYETDADQ3QVLDRKLQDXANCNFSM4LYGK3HA
).
|
Fixes iterative#3565 Continues iterative#3500 <- iterative#2905
Fixes iterative#3452 Related iterative#1840 Related iterative#3565
* progress: add main push/pull bar Fixes #3452 Related #1840 Related #3565 * adjust desc * fix merge Co-authored-by: Ruslan Kuprieiev <[email protected]> Co-authored-by: Ruslan Kuprieiev <[email protected]>
DVC version:
When I run
dvc pull
, dvc tries to show the progress bar for downloading data files, but it looks like there's a bug in rendering it.Here's the video: https://share.getcloudapp.com/jkuKG6rp
Please let me know if I can provide more details on this or help in any way. I know this reproduces for one of my teammates, too, on Ubuntu with DVC 0.91.0.
The text was updated successfully, but these errors were encountered: