Posts

Showing posts with the label Install

Installing TensorFlow

1. Pip Installation     sudo apt-get install python-pip python-dev     export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.10.0rc0-cp27-none-linux_x86_64.whl     sudo pip install –upgrade $TF_BINARY_URL 2. Virtual Installation     Step 1         sudo apt-get install python-pip python-dev python-virtualenv     Step 2         virtualenv –system-site-packages ~/tensorflow         Step 3         source ~/tensorflow/bin/activate         (tensorflow)$ pip install –upgrade https://storage.googleapis.com/tensorflow/linux/ cpu/tensorflow-0.8.0-cp27-none-linux_x86_64.whl     Step 4(python)         import tensorflow as tf         hello = tf.constant(‘Hello, TensorFlow!’)         sess = tf.Session()       ...