ImportError: No module named cifar10 or cifar10_input报错完全解决

 ImportError: No module named cifar10  or cifar10_input遇到这个错误很好解决!

一般是import cifar10  or cifar10_input遇到的问题

这种情况是因为你的工作目录中没有cifar10.py 和 cifar10_input.py这两个文件!!!

怎么解决捏??

这样。。把这两个文件直接丢到和你程序所在的文件夹里酱紫。(如下图)

那么这两个文件在哪获取呢?

这里我给一个地址

https://github.com/tensorflow/models/tree/master/tutorials/image/cifar10

这里里面是不是有你想要的文件?惊不惊喜意不意外?对!下载下来

如果你觉得有用记得关注一波哦^_^!

发布了27 篇原创文章 · 获赞 20 · 访问量 1万+

猜你喜欢

转载自blog.csdn.net/qq_33479881/article/details/83447610