tqdm doesn't work on google colab
See original GitHub issueBug Description
As mentioned by @shyamalschandra.
According to tqdm issue#558 tqdm.notebook can’t work on Google Colab due to the lack of ipywidgets
Reproducing Steps
Steps to reproduce the behavior:
- Step 1: pip3 install autokeras on google colab
- Step 2: run example/mnist.py by coping and pasting the code in Google Colab.
Expected Behavior
Should be working without error
Setup Details
Include the details about the versions of:
- OS type and version: Google Colab
- Python: 3.6
- autokeras: 0.2.18
- scikit-learn: 0.19.1
- numpy: 1.14.5
- keras: 2.2.2
- scipy:
- tensorflow: 1.10.0
- pytorch: 0.4.1
- tqdm: 4.25.0
Additional context
Could be solved by replacing
from tqdm.autonotebook import tqdm
to
from tqdm import tqdm
However, the final progress bar will remain on the terminal
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
python - Why is tqdm printing to a newline instead of updating ...
Try with position=0 and leave=True. (Solution working in Google Colab to avoid printing to a newline) from tqdm import tqdm import time def ......
Read more >TensorFlow Addons Callbacks: TQDM Progress Bar
View on TensorFlow.org · Run in Google Colab · View source on GitHub ... Below is the expected output when you run the...
Read more >OpenAI's Jukebox No Longer Working in Google Colab. panel ...
1 requires tqdm>=4.48.0, but Jukebox git requirements reference tqdm 4.45.0 which is now considered incompatible. I tried forking and updating ...
Read more >Python | How to make a terminal progress bar using tqdm
Using tqdm is very simple, you just need to add your code between tqdm() after importing the library in your code. You need...
Read more >tqdm in colab - Code Examples & Solutions For This Technical ...
from tqdm.notebook import tqdm for i in tqdm(...): ... Technical Problem Cluster First Answered On February 10, 2021 Popularity 5/10 ... colab tqdm...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Is it usable on Colab now? It seems to mess with it still.
I implement the basic function. Please see the demo here. https://colab.research.google.com/drive/12QXaI5ZAiQJfK-19HVl8fyjyh79B-TMf
The PR is waiting for review yet, so I think it may take weeks until my PR is merged into master.