ARTICLE DETAIL

资讯详情

深耕网站建设、视觉设计与SEO优化的一线实战洞察。

import tensorflow_hub报错

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
在这里插入图片描述
验证:
在这里插入图片描述

返回列表