TensorFlow 方法中的 Jupyter Notebook 进度条问题
Jupyter notebook progress bar issue in TensorFlow method
使用TFAutoModel.from_pretrained()
时返回以下错误
~/opt/anaconda3/envs/contracts/lib/python3.8/site-packages/tqdm/notebook.py in status_printer(_, total, desc, ncols)
110 # Prepare IPython progress bar
111 if IProgress is None: # #187 #451 #558 #872
--> 112 raise ImportError(
113 "IProgress not found. Please update jupyter and ipywidgets."
114 " See https://ipywidgets.readthedocs.io/en/stable"
ImportError: IProgress not found. Please update jupyter and ipywidgets. See https://ipywidgets.readthedocs.io/en/stable/user_install.html
我已点击这些链接,手动安装了 tqdm、IProgress 和 ipywidgets。无论出于何种原因,此 TensorFlow 对象方法无法执行。有什么建议吗?
你试过了吗:
pip install --upgrade jupyter_client
根据这个帖子:https://github.com/jupyter-widgets/ipywidgets/issues/2527,似乎已经解决了很多人的问题。也不要忘记在每次尝试新的解决方案时重新启动 jupyter 内核以确定实际有效的方法。
使用TFAutoModel.from_pretrained()
时返回以下错误
~/opt/anaconda3/envs/contracts/lib/python3.8/site-packages/tqdm/notebook.py in status_printer(_, total, desc, ncols)
110 # Prepare IPython progress bar
111 if IProgress is None: # #187 #451 #558 #872
--> 112 raise ImportError(
113 "IProgress not found. Please update jupyter and ipywidgets."
114 " See https://ipywidgets.readthedocs.io/en/stable"
ImportError: IProgress not found. Please update jupyter and ipywidgets. See https://ipywidgets.readthedocs.io/en/stable/user_install.html
我已点击这些链接,手动安装了 tqdm、IProgress 和 ipywidgets。无论出于何种原因,此 TensorFlow 对象方法无法执行。有什么建议吗?
你试过了吗:
pip install --upgrade jupyter_client
根据这个帖子:https://github.com/jupyter-widgets/ipywidgets/issues/2527,似乎已经解决了很多人的问题。也不要忘记在每次尝试新的解决方案时重新启动 jupyter 内核以确定实际有效的方法。