解决from tensorflow.examples.tutorials.mnist import xxxx问题

cnn手写数字报错from tensorflow.examples.tutorials.mnist import input_data时候的解决方法:
查看是否安装了tensorflow这个包,如果装了就是缺少文件:

解决from tensorflow.examples.tutorials.mnist import xxxx问题
下载地址: https://github.com/tensorflow/tensorflow(应该可以用)
我下载好的:
这是第一个文件
链接:https://pan.baidu.com/s/1vAns2lgVkNaRl2MAvtct2A
提取码:hyfr
复制这段内容后打开百度网盘手机App,操作更方便哦
这是第二个文件
链接:https://pan.baidu.com/s/1zmYDEhoL12U4xURVnSo-6w
提取码:ym4i
复制这段内容后打开百度网盘手机App,操作更方便哦

把这两个文件下载下来加到你的虚拟环境目录下就好了
将tensofrlow-master文件复制到
./\Lib\site-packages\tensorflow
(你的编译环境下的虚拟环境的目录)
将tutorials复制在tensorflow\examples目录下
差不多就解决了from tensorflow.examples.tutorials.mnist import xxxx问题了。
有啥不懂的自己在百度百度

Original: https://blog.csdn.net/qq_43101635/article/details/117754686
Author: 默认值0
Title: 解决from tensorflow.examples.tutorials.mnist import xxxx问题

原创文章受到原创版权保护。转载请注明出处:https://www.johngo689.com/521276/

转载文章受原作者版权保护。转载请注明原作者出处!

(0)

大家都在看

亲爱的 Coder【最近整理,可免费获取】👉 最新必读书单  | 👏 面试题下载  | 🌎 免费的AI知识星球