tqdm.auto progressbars does not display correctly and shows HBox(children=(FloatProgress(value=0.0), HTML(value=''))) instead

Viewed 1423

I have some trouble with tqdm.auto

It worked correctly until few days ago, but it is not working properly now.

I think maybe some installation has messed up everything.

So, my problem is:

when I run this code:

for epoch in tqdm(range(epochs)):

Instead of progressbar, I get the following:

HBox(children=(FloatProgress(value=0.0), HTML(value='')))
0   lr: 0.01
HBox(children=(FloatProgress(value=0.0, description='train', max=4.0, style=ProgressStyle(description_width='i…

Thank you so much for your help.

1 Answers

you might want to try to do this :

from tqdm.notebook import tqdm

hope it works.

Related