Pytorch progress bar disappear on vscode jupyter

Question:

I have problem when training Pytorch model, the progress bar of is disappeared by no reason today. It still work properly the days before. I’m using jupyter through vs code, connect to the kernel that run on the Ubuntu subsystem. How can I show the progress bar as normal

Here is my screen

Asked By: ShanN

||

Answers:

I had this issue and it seems to come from a problem with tqdm for new versions of ipywidget (see https://github.com/microsoft/vscode-jupyter/issues/8552).
As mentioned in the link, I solved it by downgrading ipywidgets:

pip install ipywidgets==7.7.2
Answered By: Adri
Categories: questions Tags: , ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.