【发布时间】:2021-10-29 10:58:56
【问题描述】:
使用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、IPProgress 和 ipywidgets。无论出于何种原因,这个 TensorFlow 对象方法都无法执行。有什么建议吗?
【问题讨论】:
标签: python tensorflow jupyter-notebook huggingface-transformers