Skip to content

Latest commit

 

History

History
49 lines (32 loc) · 1.09 KB

install-ubuntu.md

File metadata and controls

49 lines (32 loc) · 1.09 KB

Installing TensorFlow on Ubuntu

We will present the tutorial in Jupyter notebooks. To run them on your machine, you will need a working TensorFlow installation (v0.10).

Follow these instructions, which assume you have Ubuntu Linux. Other Linux distributions may not be supported.

Clone this repository.

git clone https://github.com/wolffg/tf-tutorial.git
cd tf-tutorial

Install pip and dependencies

sudo apt-get install python-pip python-dev python-matplotlib

Install TensorFlow

This uses CPU only.

export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.10.0-cp27-none-linux_x86_64.whl
sudo pip install --upgrade $TF_BINARY_URL
sudo pip install jupyter Pillow

For GPU instructions, see tensorflow.org.

Running Jupyter

From your "tensorflow" virtualenv prompt, run the following:

jupyter notebook

Click on 0_tf_hello_world.ipynb to test that jupyter is running correctly.

You should be able to run the notebook without issue.