Search code examples
pythonpytorchprogress

Pytorch progress bar disappear on vscode jupyter


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


Solution

  • 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