我使用的pycharm 来写python,它可以自动导入没有的包,
但是在写tenflow 的第一个程序
from tensorflow.examples.tutorials.mnist import input_data mnist = input_data.read_data_sets("MNIST_data/", one_hot=True) print (mnist.train.images.shape,mnist.train.labels.shape) print(mnist.test.images.shape, mnist.train.labels.shape) print(mnist.validation.images.shape, mnist.validation.labels.shape)
在这之前需要下载数据包的代码,
但是再接下来的时候,发现有些可以跑,有的不行,
我的问题是,我下载数据包找不到,程序在不同下的包运行的