ARTICLE DETAIL

建站实战干货

来自一线的建站与推广经验沉淀,每一条都经过真实交付验证。

import tensorflow_hub报错

2026/9/18 0:06:08 拓冰建站 浏览量
import tensorflow_hub报错

问题:
导入tensorflow_hub报ModuleNotFoundError: No module named ‘tensorflow.python.checkpoint’
报错图片
解决:
tensorflow-estimator版本不对 和tensorflow(2.6.0)版本一致 。
在这里插入图片描述
pip install -U tensorflow-estimator==2.6.0
在这里插入图片描述
验证:
在这里插入图片描述