Ubuntu 在Jetson TX2上构建TensorFlow
我正在尝试,但我有一些编译错误。 谁能给我一些建议吗 我的环境是Ubuntu 在Jetson TX2上构建TensorFlow,ubuntu,tensorflow,bazel,arm64,nvidia-jetson,Ubuntu,Tensorflow,Bazel,Arm64,Nvidia Jetson,我正在尝试,但我有一些编译错误。 谁能给我一些建议吗 我的环境是 Ubuntu 16.04 Jetsonx2 架构aarch64 喷气背包3.2 CUDA 9.0 cuDNN 7.0.5 我执行了以下命令: $ sudo -H bash BuildTensorflow.sh -b r1.6 错误是 swapon: /home/nvidia/JetsonTFBuild/swapfile.swap: swapon failed: Device or resource busy
- Ubuntu 16.04
- Jetsonx2
- 架构aarch64
- 喷气背包3.2
- CUDA 9.0
- cuDNN 7.0.5
$ sudo -H bash BuildTensorflow.sh -b r1.6
错误是
swapon: /home/nvidia/JetsonTFBuild/swapfile.swap: swapon failed: Device or resource busy
Looks like Swap not desired or is already in use
dirname: missing operand
Try 'dirname --help' for more information.
dirname: missing operand
Try 'dirname --help' for more information.
PYTHON_BIN_PATH=/usr/bin/python2
GCC_HOST_COMPILER_PATH=/usr/bin/gcc
CUDA_TOOLKIT_PATH=
TF_CUDA_VERSION=9.0
TF_CUDA_COMPUTE_CAPABILITIES=5.3,6.2
CUDNN_INSTALL_PATH=/usr/lib/aarch64-linux-gnu
TF_CUDNN_VERSION=7.0.5
./tf_build.sh: line 20: /home/nvidia/JetsonTFBuild: Is a directory
/usr/bin/python2: can't open file 'configure.py': [Errno 2] No such file or directory
error: patch failed: tensorflow/contrib/lite/kernels/internal/BUILD:21
error: tensorflow/contrib/lite/kernels/internal/BUILD: patch does not apply
INFO: Options provided by the client:
Inherited 'common' options: --isatty=1 --terminal_columns=80
INFO: Reading rc options for 'build' from /home/nvidia/JetsonTFBuild/tensorflow/tools/bazel.rc:
'build' options: --define framework_shared_object=true --define=use_fast_cpp_protos=true --define=allow_oversize_protos=true --define=grpc_no_ares=true --spawn_strategy=standalone --genrule_strategy=standalone -c opt
ERROR: Config value opt is not defined in any .rc file
Tue Oct 9 20:34:03 JST 2018 : === Using tmpdir: /tmp/tmp.swhwrsSoaA
cp: cannot stat 'bazel-bin/tensorflow/tools/pip_package/build_pip_package.runfiles/org_tensorflow/tensorflow': No such file or directory