Tensor flow installation
$sudo apt-get install oracle-java8-installer sudo apt-get install pkg-config zip g++ zlib1g-dev unzip wget https://github
Tried to install on GCE using two methods.
The first is the default installation instructions, when running the minst demo, it appears a bit slow (650-700ms)
The first is the default installation instructions, when running the minst demo, it appears a bit slow (650-700ms)
Also tried this script.
Also tried to install from source: see original page
git clone --recurse-submodules https://github.com/tensorflow/tensorflow -b r0.7
$ sudo apt-get install python-numpy swig python-dev
$ sudo add-apt-repository ppa:webupd8team/java
$ sudo apt-get update
$ sudo apt-get install oracle-java8-installer sudo apt-get install pkg-config zip g++ zlib1g-dev unzip wget https://github.com/bazelbuild/bazel/releases/download/0.2.1/bazel_0.2.1-linux-x86_64.deb
then google "how to install .deb"
./configure --> say you don't have GPU (my case. if it's not, you read yourself...)
bazel build -c opt --copt=-mavx //tensorflow/cc:tutorials_example_trainer
Also tried to install from source: see original page
git clone --recurse-submodules https://github.com/tensorflow/tensorflow -b r0.7
$ sudo apt-get install python-numpy swig python-dev
$ sudo add-apt-repository ppa:webupd8team/java
$ sudo apt-get update
$ sudo apt-get install oracle-java8-installer sudo apt-get install pkg-config zip g++ zlib1g-dev unzip wget https://github.com/bazelbuild/bazel/releases/download/0.2.1/bazel_0.2.1-linux-x86_64.deb
then google "how to install .deb"
./configure --> say you don't have GPU (my case. if it's not, you read yourself...)
bazel build -c opt --copt=-mavx //tensorflow/cc:tutorials_example_trainer
Jupiter notebook
look for their installation (pip..., including the dev too)
I also installed plots:
I also installed plots:
sudo apt-get install libfreetype6-dev libxft-dev
pip install
matplotlib
open port in GCE console: gcloud compute firewall-rules create tcp8888 --allow=tcp:8888
run on the linux shell: (ip 0.0.0.0 is a must, otherwise only local host will work)
plotting: if not visible, add this to the cell: %matplotlib inline. see a permanent solution here
installed via:
No comments:
Post a Comment