2017년 4월 4일 화요일

[Tensorflow] With CPU only on Ubuntu 10.04 LTS

Tensorflow with CPU only.

01. Install Virtualbox. Mount and install Ubuntu 16.04 LTS.

02. Install python3 with this command.
: sudo apt-get install python3

03. sudo apt-get install python3-pip python3-dev python-virtualenv

04. Edit .bashrc or .bash_profile with vi and add the URL below.
   export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.11.0-cp35-cp35m-linux_x86_64.whl

05. virtualenv --system-site-packages -p python3 ~/tensorflow

06. Excute tensorflow
   : source ~/tensorflow/bin/activate

07. Checking python version
   : python --version

08. Upgrade tensorflow
   : pip3 install --upgrade $TF_BINARY_URL

09. Install Jypyter notebook
   : pip3 install jupyter

10. Excute Jupyter
   : jupyter notebook