LoginSignup
7
7

More than 5 years have passed since last update.

aws ec2, g2-2xlarge, ubuntu14.04にtensorflowを導入する。

Last updated at Posted at 2016-04-12

基本的には以下ブログのどれかあたりを踏襲する。
https://gist.github.com/erikbern/78ba519b97b440e10640
http://qiita.com/haruoaoki/items/294262d98e1223008252

以下変更点

git checkout tags/0.1.0

git checkout tags/0.1.4
へ変更。でないと以下のページによればうまくいかない
参考:https://github.com/tensorflow/tensorflow/issues/927

さらに
bazel ./compileでjava-1.8.0-openjdk-amd64がないとうまくいかないので、
openjavaのバージョンを1.8へ変更
参考:https://howtos.gattaz.net/2015/09/14/install-java-and-eclipse-on-ubuntu-14-04/
   http://note.kurodigi.com/ubuntu1404-openjava8/

既出だがCuda compute capabilityうんぬんの問題があるので
TF_UNOFFICIAL_SETTING=1 ./configure
実行時にはCuda compute capabilityを3.0に指定する。

また最後の
sudo pip install /tmp/tensorflow_pkg/tensorflow-0.5.0-cp27-none-linux_x86_64.whl
も基本tensorflowのバージョンが古いのでインストールしたバージョンを選びなおしてインストール

7
7
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
7
7