栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 软件开发 > 后端开发 > Python

win10 Tensorflow 2.8.0 No module named ‘tensorflow.examples’

Python 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

win10 Tensorflow 2.8.0 No module named ‘tensorflow.examples’

tensorflow子文件中无examples文件夹,且无法找到下载路径==

搜到的一些问题及解决方法大概有:

(1)examples文件夹下虽然可能无tutorials,但可以下载到

(2)改 tensorflow.examples 为 tensorflow_core.examples (其实就是看examples在哪罢了吧

总之一通捣鼓,最后在tensorflow/core/example下把tutorials贴了过去

并把这

from tensorflow.examples.tutorials.mnist import input_data

改了这

from tensorflow.core.example.tutorials.mnist import input_data

想来就是因为mnist在tutorials下,这样其实tutorials放哪儿没太大关系,只要最后改改路径就好(?)

后面mnist_init_.py运行时也会报错,仍然改路径

(明日不愿再麻)

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/754921.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号