Closed littlezerg2002 closed 6 years ago
change "/data/mnist" into "data/mnist"
also change tf.contribute.layers into tf.layers
and activation_fn -> activation
These change will work in version 1.3.0
thanks @physhik. also, we'll be releasing the new code for mnist convnet in a few days.
https://github.com/chiphuyen/stanford-tensorflow-tutorials/blob/b95dcdf7bd3efa0f6ff3c28e01d3d42d2084b35c/examples/07_convnet_mnist_starter.py#L25
I change it to below to make it pass: mnist = input_data.read_data_sets('MNIST_data', one_hot=True)