-
Notifications
You must be signed in to change notification settings - Fork 714
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
[Bug]: Logging does not update progress bar #9425
Comments
This is weird, I remember I faced some of this back then. Have you tried printing something every iteration just to check? |
I just added a
|
Hey guys! Thank you for writing in. I can repro this on my end as well. I can check with our engineering team if this behavior is intentional or not. Some time ago, we had users writing in, asking to not display |
Looks like this is intentional. Would you like me to send the feedback of seeing log by log coming from tqdm instead of just one line? |
The issue is not that it displays on a single line. The issue is that it does not update. My guess is that carriage returns ( |
Gotcha, a couple of things to try here. Could you please upgrade to the latest version of wandb by calling |
I updated to the latest version (19.6) and ran this code import os
os.environ["WANDB_CONSOLE"] = "wrap"
import wandb
import tqdm
import time
run = wandb.init(project="tqdm-test")
for i in tqdm.tqdm(range(1000), ncols=88, ascii=True):
run.log({"acc": i / 1000})
time.sleep(1)
run.finish() which produces
Unfortunately, this also gets stuck in W&B's web interface.
|
The issue causes an inconvenience, Is there any workaround? |
Hey Max, the fix for this should be setting the |
Describe the bug
The logs interface does not update
tqdm
progress bars.Reproducing
With the following code,
the progress bar looks like
But the logs tab in the web interface always shows
The text was updated successfully, but these errors were encountered: