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

tqdm in text mode does not refresh lines #2

Open
stared opened this issue Jan 10, 2017 · 3 comments
Open

tqdm in text mode does not refresh lines #2

stared opened this issue Jan 10, 2017 · 3 comments

Comments

@stared
Copy link
Contributor

stared commented Jan 10, 2017

screenshot from 2017-01-10 16-23-04

It might be an issue with tqdm itself, but right now text bar is hardly usable. In this case, shouldn't TQDMNotebookCallback be considered the default option?

The same problem appears in your examples: https://github.com/bstriner/keras-tqdm/blob/master/examples/keras_progress_bars.ipynb

@bstriner
Copy link
Owner

Text mode looks weird in IPython but it's really meant to be run on the command line.

Uploaded an example to the README of what TQDMCallback does on the command line.

CLI

Cheers,
Ben

@stared
Copy link
Contributor Author

stared commented Jan 11, 2017

Well, I used to use this text bar in Jupyter Notebook (it was Notebook-aware), but not it does not work properly (even with plain tqdm). Unfortunately, in the next I am busy, so I won't dive into extensive testing (e.g. it might depend on Python version).

(In any case - thx! I Googled keras tqdm and found your projects. I wanted to do it some day, but there is so much going on. I was searching as the next week I start doing a workshop for gifted high-school students, see bottom of http://p.migdal.pl. I will surely use your lib. :))

@segnaro
Copy link

segnaro commented Sep 12, 2019

Try use this:
callbacks=[TQDMCallback(show_inner=False)]
In Jupyter notebook or Jupyter Lab.

It will fix the refreshing issue :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants