chmod 755 JetPack-L4T-3.3-linux-x64_b39.run
./JetPack-L4T-3.3-linux-x64_b39.run
- 途中で,インストラクションに従って Jetson TX2 をアップデートモードに
- TensorFlowのビルド
sudo apt-get install openjdk-8-jdk
sudo apt-get install python3-numpy swig python3-dev python3-pip python3-wheel -y
wget --no-check-certificate https://github.com/bazelbuild/bazel/releases/download/0.10.0/bazel-0.10.0-dist.zip
unzip bazel-0.10.0-dist.zip -d bazel-0.10.0-dist
cd bazel-0.10.0-dist
./compile.sh
cp output/bazel /usr/local/bin
- TensorFlowはr1.7をcheckoutしてビルド
git clone https://github.com/tensorflow/tensorflow.git
git checkout r1.7
bazel build --config=opt --config=cuda //tensorflow/tools/pip_package:build_pip_package
bazel-bin/tensorflow/tools/pip_package/build_pip_package /tmp/tensorflow_pkg
fallocate -l 8G swapfile
chmod 600 swapfile
mkswap swapfile
swapon swapfile
swapon -s
sudo swapoff swapfile
rm swapfile
- keras
- libhdf5-devいれて,pipでインストール
sudo apt install libhdf5-dev