[BUG]: IProgress not found. Please update jupyter & ipywidgets
See original GitHub issue#359 Summary of the bug I am running the tutorials found here - Mapping vehicles & Tiling tutorial
And the code is breaking whenever the tqdm module is called (to show the status bar)!
Steps to reproduce the bug
I am running the mapping cars tutorial & the Tiling tutorial. (Links given above) For the car mapping tutorial the code breaks here -
The error occurs on the following line:
trainer = sol.nets.train.Trainer(config)
For the Tiling tutorial the code breaks here -
raster_bounds_crs = raster_tiler.tile('/path/to/raster/file/3band/PS-RGB_mosaic_013022223133.tif')
Buggy behavior and/or error message
The error log had the following:
Exception ignored in: <function tqdm.__del__ at 0x7fe617c33290> Traceback (most recent call last): File "/opt/conda/envs/solaris/lib/python3.7/site-packages/tqdm/std.py", line 1087, in __del__ self.close() File "/opt/conda/envs/solaris/lib/python3.7/site-packages/tqdm/notebook.py", line 247, in close self.sp(bar_style='success') AttributeError: 'tqdm_notebook' object has no attribute 'sp'
followed by -
ImportError: IProgress not found. Please update jupyter and ipywidgets.......
Expected behavior
Model should be downloaded, without any issues.
Environment information
- OS: GNU-Linux, GCP Deep Learning Platform with TF2.1 pre-installed
solaris
version: 0.3.0- python version: 3.7.6
- tqdm: 4.48.0 I am using Jupyterlab on a GCP VM
Additional context
Hardware: N1 4vCPUs, 15GB RAM (GCP) NVidia Tesla T4
I get the above error while running the following notebook https://github.com/jshermeyer/solaris_cowc/blob/master/map_vehicles_cowc.ipynb
I first got the error while downloading the VGG16 pre-trained weights. So I downloaded the model and then copied it to the required directory. And then again ran the training code. However then I got the error while it was downloading the SpaceNet model weights.
While downloading the weights the error occurs for the status bar. from the get_model >> download_model module.
The same error re-occurred when I was running the Tiling tutorial
Again while running the tqdm module.
I have tried the steps as given in the following SF answer
- re-installing ipywidgets
- and enabling widget extensions
Issue Analytics
- State:
- Created 3 years ago
- Comments:8
Sir, my dir is the
Desktop
. But I meet the same error.I solved this by chaging
to
solved this
i meet same the error on my juptyer notebook (using docker). i resolve it by changing the notebook dir. if you run jupyter notebook using root dir, using the --notebook-dir to change the dir may help you.