Traceback (most recent call last):
File "tf_lenet3.py", line 17, in <module>
mnist = tf.DataSet("MNIST", normalize=255.0)
AttributeError: module 'tensorflow' has no attribute 'DataSet'
Then, I modified the code. I added from tensorflow.examples.tutorials.mnist import input_data
and mnist = input_data.read_data_sets('MNIST_data', one_hot=True)
, removed mnist = tf.DataSet("MNIST", normalize=255.0)
and I got the following error:
Traceback (most recent call last):
File "tf_lenet3.py", line 70, in <module>
for train_batch in range(int(len(mnist.training_data)/args.train_batch)):
AttributeError: 'Datasets' object has no attribute 'training_data'