Skip to content

Instantly share code, notes, and snippets.

@jkeroes
Created February 5, 2016 20:57
Show Gist options
  • Save jkeroes/c0861fd282c28b2d4483 to your computer and use it in GitHub Desktop.
Save jkeroes/c0861fd282c28b2d4483 to your computer and use it in GitHub Desktop.
root@home:~# docker run -it b.gcr.io/tensorflow/tensorflow
root@cc66321b9eeb:~#
root@cc66321b9eeb:~# export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/cuda/lib64"
root@cc66321b9eeb:~# export CUDA_HOME=/usr/local/cuda
root@cc66321b9eeb:~#
root@cc66321b9eeb:~# python /usr/local/lib/python2.7/dist-packages/tensorflow/models/image/mnist/convolutional.py
Succesfully downloaded train-images-idx3-ubyte.gz 9912422 bytes.
Succesfully downloaded train-labels-idx1-ubyte.gz 28881 bytes.
Succesfully downloaded t10k-images-idx3-ubyte.gz 1648877 bytes.
Succesfully downloaded t10k-labels-idx1-ubyte.gz 4542 bytes.
Extracting data/train-images-idx3-ubyte.gz
Extracting data/train-labels-idx1-ubyte.gz
Extracting data/t10k-images-idx3-ubyte.gz
Extracting data/t10k-labels-idx1-ubyte.gz
I tensorflow/core/common_runtime/local_device.cc:40] Local device intra op parallelism threads: 2
I tensorflow/core/common_runtime/direct_session.cc:58] Direct session inter op parallelism threads: 2
Initialized!
Epoch 0.00
Minibatch loss: 12.054, learning rate: 0.010000
Minibatch error: 90.6%
Validation error: 84.6%
Epoch 0.12
Minibatch loss: 3.302, learning rate: 0.010000
Minibatch error: 9.4%
Validation error: 7.3%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment