Skip to content
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

Validation loss in progress bar printed line by line (again) #16691

Closed
graille opened this issue Feb 8, 2023 · 2 comments
Closed

Validation loss in progress bar printed line by line (again) #16691

graille opened this issue Feb 8, 2023 · 2 comments
Labels
3rd party Related to a 3rd-party question Further information is requested

Comments

@graille
Copy link

graille commented Feb 8, 2023

Bug description

See #330 for details

I also have this issue when using the Running command of Pycharm

image

TQDM version: 4.64.1
Pytorch Lightning version: 1.9.0

How to reproduce the bug

No response

Error messages and logs

No response

Environment

Current environment
#- Lightning Component (e.g. Trainer, LightningModule, LightningApp, LightningWork, LightningFlow): LightningModule
#- PyTorch Lightning Version (e.g., 1.5.0): 1.9.0
#- Lightning App Version (e.g., 0.5.2):
#- PyTorch Version (e.g., 2.0): 
#- Python version (e.g., 3.9): 3.9
#- OS (e.g., Linux): Windows
#- CUDA/cuDNN version: 11.7
#- GPU models and configuration: RTX 3070
#- How you installed Lightning(`conda`, `pip`, source): Conda
#- Running environment of LightningApp (e.g. local, cloud): Local

More info

No response

@graille graille added bug Something isn't working needs triage Waiting to be triaged by maintainers labels Feb 8, 2023
@carmocca
Copy link
Contributor

carmocca commented Feb 8, 2023

This is a limitation of tqdm with PyCharm. You can find some suggested options online: https://stackoverflow.com/questions/45012964/stdout-progress-bars-dont-work-in-pycharm

@carmocca carmocca added question Further information is requested 3rd party Related to a 3rd-party and removed bug Something isn't working needs triage Waiting to be triaged by maintainers labels Feb 8, 2023
@awaelchli
Copy link
Contributor

@graille This looks like a duplicate of #14237 and #330. TQDM doesn't mix well with PyCharm's console. It has never worked well and is unrelated to Lightning. See related issues on the Tqdm github as well. Maybe this comment helps you: tqdm/tqdm#307 (comment)

@awaelchli awaelchli closed this as not planned Won't fix, can't repro, duplicate, stale Mar 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3rd party Related to a 3rd-party question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants