keras-team / keras-tuner

A Hyperparameter Tuning Library for Keras
https://keras.io/keras_tuner/
Apache License 2.0
2.86k stars 396 forks source link

Progress bar not notebook friendly on Jupyter Lab #187

Open hadim opened 4 years ago

hadim commented 4 years ago

The progress bar sown during a search is the console one and note the notebook friendly one (tqdm.tqdm_notebook).

keras-tuner               1.0.0                    pypi_0    pypi

jupyter_client            5.3.3                    py37_1    conda-forge
jupyter_core              4.6.1                    py37_0    conda-forge
jupyterlab                1.2.3                      py_0    conda-forge
jupyterlab_server         1.0.6                      py_0    conda-forge
notebook                  6.0.1                    py37_0    conda-forge

tensorflow-gpu            2.0.0                    pypi_0    pypi
tqdm                      4.40.0                     py_0    conda-forge

Not that if use directly kerastuner.abstractions.display.progress_bar(), the correct one is used.

I am using the latest kerastuner version on master: 91fe47866d41684e7c30e1767ac113ddccc02ce4

hadim commented 4 years ago

The same error happens with the last pypi version.

The error can be reproduced with tutorials/helloworld/.

omalleyt12 commented 4 years ago

@hadim Thanks for the issue!

Is this the Keras progress bar for Model.fit, or the KerasTuner outputs regarding the state of the search?

hadim commented 4 years ago

The one showing progress of the search. I don't remember seeing the one for fit neither that being said.

jtlz2 commented 4 years ago

@hadim Did you ever find a workaround or solution?