keras-tqdm
keras-tqdm copied to clipboard
Failed to display Jupyter Widget of type HBox.
Using the TQDMNotebookCallback doesn't seem to work, I have updated jupyter, notebook, and ipywidgets as well as rerunning jupyter nbextension enable --py widgetsnbextension
but when using the callback in the fit function I get the following message.
Failed to display Jupyter Widget of type HBox.
If you're reading this message in Jupyter Notebook or JupyterLab, it may mean that the widgets JavaScript is still loading. If this message persists, it likely means that the widgets JavaScript library is either not installed or not enabled. See the Jupyter Widgets Documentation for setup instructions.
If you're reading this message in another notebook frontend (for example, a static rendering on GitHub or NBViewer), it may mean that your frontend doesn't currently support widgets.
Definitely never seen that before. Can you give some details on your system (python, browser, etc.)? When are you getting the error? Maybe a screenshot could help. I'd be curious if you see that in other browsers.

Same experience in chrome and safari. Python 3.6
Here's pip freeze
appnope==0.1.0
arrow==0.10.0
beautifulsoup4==4.6.0
bleach==2.0.0
certifi==2017.7.27.1
chardet==3.0.4
click==6.7
cx-Oracle==5.3
cycler==0.10.0
decorator==4.1.2
entrypoints==0.2.3
et-xmlfile==1.0.1
facebookads==2.9.2
flake8==3.3.0
geocoder==1.27.0
geopy==1.11.0
google-api-python-client==1.6.2
googleads==8.0.0
html5lib==0.999999999
httplib2==0.10.3
idna==2.5
ipykernel==4.6.1
ipython==6.1.0
ipython-genutils==0.2.0
ipywidgets==7.0.1
jdcal==1.3
jedi==0.10.2
Jinja2==2.9.6
jsonschema==2.6.0
jupyter==1.0.0
jupyter-client==5.1.0
jupyter-console==5.2.0
jupyter-core==4.3.0
jupyternotify==0.1.12
lxml==3.8.0
MarkupSafe==1.0
matplotlib==2.0.2
mccabe==0.6.1
Metaphone==0.6
mistune==0.7.4
nbconvert==5.3.1
nbformat==4.4.0
notebook==5.0.0
numpy==1.13.1
oauth2client==4.1.2
openpyxl==2.4.8
pandas==0.20.3
pandas-profiling==1.4.0
pandocfilters==1.4.2
path.py==10.3.1
patsy==0.4.1
pexpect==4.2.1
pickleshare==0.7.4
prompt-toolkit==1.0.15
psycopg2==2.7.1
ptyprocess==0.5.2
pyasn1==0.3.6
pyasn1-modules==0.1.4
pycodestyle==2.3.1
pyflakes==1.5.0
Pygments==2.2.0
pyparsing==2.2.0
PySocks==1.6.7
python-dateutil==2.6.1
pytz==2017.2
PyYAML==3.12
pyzmq==16.0.2
qtconsole==4.3.1
ratelim==0.1.6
requests==2.18.0
rsa==3.4.2
scikit-learn==0.19.0
scipy==0.19.1
seaborn==0.8
selenium==3.4.3
simplegeneric==0.8.1
six==1.11.0
slackclient==1.0.6
SQLAlchemy==1.1.13
statsmodels==0.8.0
suds-jurko==0.6
terminado==0.6
testpath==0.3.1
tornado==4.5.2
tqdm==4.15.0
traitlets==4.3.2
uritemplate==3.0.0
urllib3==1.21.1
wcwidth==0.1.7
webencodings==0.5.1
websocket-client==0.44.0
widgetsnbextension==3.0.2
xlrd==1.1.0
XlsxWriter==0.9.6
xmltodict==0.11.0
Same thing happening to me with pure tqdm
, don't know how to fix it.
Python 3.6.2 Jupyter 4.3.0 ipython 6.2.0 ipykernel 4.6.1 ipywidgets 7.0.1 widgetsnbextension 3.0.3 tqdm 4.17.1
Having the same issue here.
Similar things happened to me as well, only getting:
HBox(children=(IntProgress(value=0, description=u'Training', max=3), HTML(value=u''))) HBox(children=(IntProgress(value=0, description=u'Epoch 0', max=101556), HTML(value=u'')))
The problem appears already in tqdm
here and only on jupyter-lab
+1 same issue, in JupyterLab
any progress?
Have you checked https://github.com/tqdm/tqdm/issues/451 ? At least for me there were some helping things
FWIW, seeing HBox'es on
4.45.0 3.7.6 | packaged by conda-forge | (default, Mar 23 2020, 23:03:20)
[GCC 7.3.0] linux
while using our tqdm code in datalad (which used to work) and trying that example in tqdm document. no reports on anything "failed"