Successfully downloaded train-images-idx3-ubyte.gz 9912422 bytes.
Extracting /tmp/data/train-images-idx3-ubyte.gz
Successfully downloaded train-labels-idx1-ubyte.gz 28881 bytes.
Extracting /tmp/data/train-labels-idx1-ubyte.gz
Successfully downloaded t10k-images-idx3-ubyte.gz 1648877 bytes.
Extracting /tmp/data/t10k-images-idx3-ubyte.gz
Successfully downloaded t10k-labels-idx1-ubyte.gz 4542 bytes.
Extracting /tmp/data/t10k-labels-idx1-ubyte.gz
WARNING:tensorflow:From <ipython-input-1-92265976c34d>:45: softmax_cross_entropy_with_logits (from tensorflow.python.ops.nn_ops) is deprecated and will be removed in a future version.
Instructions for updating:
Future major versions of TensorFlow will allow gradients to flow
into the labels input on backprop by default.
See tf.nn.softmax_cross_entropy_with_logits_v2.
WARNING:tensorflow:From /anaconda3/lib/python3.6/site-packages/tensorflow/python/util/tf_should_use.py:118: initialize_all_variables (from tensorflow.python.ops.variables) is deprecated and will be removed after 2017-03-02.
Instructions for updating:
Use `tf.global_variables_initializer` instead.
Epoch 0 completed out of 10 loss: 1664569.60834
Epoch 1 completed out of 10 loss: 414550.968437
Epoch 2 completed out of 10 loss: 229022.354944
Epoch 3 completed out of 10 loss: 136420.393392
Epoch 4 completed out of 10 loss: 88019.3560204
Epoch 5 completed out of 10 loss: 56024.820509
Epoch 6 completed out of 10 loss: 37434.4423951
Epoch 7 completed out of 10 loss: 29640.3100017
Epoch 8 completed out of 10 loss: 24399.9572706
Epoch 9 completed out of 10 loss: 23351.0056713
Accuracy: 0.9534