由于开发的需要,我需要将代码移植到TX2上,但是tx2上没有合适的tensorflow版本,这里有两种方法,其中一种是根据https://github.com/jetsonhacks/installTensorFlowTX2
上面的教程自己编译一个,另一种就是使用别人预编译好的,但是我在github上找的预编译tensorflow版本都安装不成功,我这里把资源分享给大家,其为python 2.7版本的。
网盘地址为:
登录后复制
链接:https://pan.baidu.com/s/1jIh9Ra2 密码:png81.
安装命令为:
登录后复制
sudo apt-get install python-pipsudo pip install yourtensorflow.whl1.2.
最近又编译成功了tensorflow 1.3的版本,把编译成功的文件分享给大家,下载地址为:
安装成功的输出信息为:
登录后复制
nvidia@tegra-ubuntu:~$ sudo pip3 install tensorflow-1.3.0-cp35-cp35m-linux_aarch64.whl [sudo]
password for nvidia: The directory '/home/nvidia/.cache/pip/http' or its parent directory is
not owned by the current user and the cache has been disabled. Please check the permissions
and owner of that directory. If executing pip with sudo, you may want sudo's -H flag
.The directory '/home/nvidia/.cache/pip' or its parent directory is not owned by the
current user and caching wheels has been disabled. check the permissions and owner of
that directory. If executing pip with sudo, you may want sudo's -H flag.Processing
./tensorflow-1.3.0-cp35-cp35m-linux_aarch64.whlRequirement already satisfied: wheel>=0.26
in /usr/lib/python3/dist-packages (from tensorflow==1.3.0)Collecting
tensorflow-tensorboard<0.2.0,>=0.1.0 (from tensorflow==1.3.0) Downloading
tensorflow_tensorboard-0.1.8-py3-none-any.whl (1.6MB) 100% |████████████████████████████████|
1.6MB 78kB/s Requirement already satisfied: six>=1.10.0 in /usr/lib/python3/
dist-packages (from tensorflow==1.3.0)Collecting protobuf>=3.3.0 (from tensorflow==1.3.0)
Downloading protobuf-3.5.1-py2.py3-none-any.whl (388kB) 100% |████████████████████████████████|
389kB 91kB/s Requirement already satisfied: numpy>=1.11.0 in /usr/local/lib/python3.5/dist-packages
(from tensorflow==1.3.0)Collecting markdown>=2.6.8 (from tensorflow-tensorboard<0.2.0,>=0.1.0->
tensorflow==1.3.0) Downloading Markdown-2.6.10.zip (414kB) 100% |████████████████████████████████|
419kB 79kB/s Collecting werkzeug>=0.11.10 (from tensorflow-tensorboard<0.2.0,>=0.1.0->tensorflow==1.3.0)
Downloading Werkzeug-0.13-py2.py3-none-any.whl (311kB) 100% |████████████████████████████████|
317kB 84kB/s Collecting bleach==1.5.0 (from tensorflow-tensorboard<0.2.0,>=0.1.0->tensorflow==1.3.0)
Downloading bleach-1.5.0-py2.py3-none-any.whlCollecting html5lib==0.9999999
(from tensorflow-tensorboard<0.2.0,>=0.1.0->tensorflow==1.3.0) Downloading html5lib-0.9999999.tar
.gz (889kB) 100% |████████████████████████████████| 890kB 84kB/s Requirement already
satisfied: setuptools in /usr/lib/python3/dist-packages (from protobuf>=3.3.0->tensorflow==1.3.0)
Installing collected packages: protobuf, markdown, werkzeug, html5lib, bleach, tensorflow-tensorboard,
tensorflow Running setup.py install for markdown ... done Found existing installation: html5lib 0.999
Uninstalling html5lib-0.999: Successfully uninstalled html5lib-0.999 Running setup
.py install for html5lib ... doneSuccessfully installed bleach-1.5.0 html5lib-0.9999999 markdown-2.6.10
protobuf-3.5.1 tensorflow-1.3.0 tensorflow-tensorboard-0.1.8 werkzeug-0.131.2.3.4.5.6.7.8.9.10.11.12.13.
14.15.16.17.18.19.20.21.22.23.24.25.26.27.28.29.30.31.32.33.
免责声明:本文系网络转载或改编,未找到原创作者,版权归原作者所有。如涉及版权,请联系删