Skip to content

Instantly share code, notes, and snippets.

@chakkritte
Created February 21, 2017 08:37
Show Gist options
  • Save chakkritte/174af9102bbc2b26f6916dc44952801e to your computer and use it in GitHub Desktop.
Save chakkritte/174af9102bbc2b26f6916dc44952801e to your computer and use it in GitHub Desktop.
Deep learning Ep. 4 : Install TensorFlow 1.0 on Windows (with CUDA) https://www.youtube.com/watch?v=BnQzAXnGma0
#Install tensorflow 1.0 on windows 10
we’re announcing TensorFlow 1.0:
-It’s faster
-It’s more flexible
-It’s more production-ready than ever
#Step 1 install
##CPU-only
pip install --upgrade https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow-1.0.0-cp35-cp35m-win_amd64.whl
##With GPU (Nvidia)
pip install --upgrade https://storage.googleapis.com/tensorflow/windows/gpu/tensorflow_gpu-1.0.0-cp35-cp35m-win_amd64.whl
#Step 2 test
python test.py
#Good luck
#Bye
import tensorflow as tf
hello = tf.constant('Hello, TensorFlow!')
sess = tf.Session()
print(sess.run(hello))
a = tf.constant(10)
b = tf.constant(32)
print(sess.run(a + b))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment