Class05 Answer:

Install TensorFlow

I started this exercise by studying the URL listed below:

https://www.tensorflow.org/install/install_linux#installing_with_native_pip

Then I installed Python 3.6.4 under my home-folder:


cd ~/Downloads/
wget https://www.python.org/ftp/python/3.6.4/Python-3.6.4.tar.xz
tar xf Python-3.6.4.tar.xz
cd     Python-3.6.4/
./configure --prefix=${HOME}/py36
make
make install
cd ~/py36/bin/
ln -s python3.6 python
ln -s pip3.6 pip
export PATH=${HOME}/py36/bin:$PATH
which pip
which python

Next, I installed TensorFlow 1.7 with GPU CUDA cuDNN support:

pip install tensorflow-gpu

Class05 Lab


ml4.us About Blog Contact Class01 Class02 Class03 Class04 Class05 Class06 Class07 Class08 Class09 Class10 dan101 Forum Google Hangout Vboxen