Jetson-TX2安装tensorflow教程

网友投稿 837 2022-08-22

Jetson-TX2安装tensorflow教程

Jetson-TX2安装tensorflow教程

由于开发的需要,我需要将代码移植到TX2上,但是tx2上没有合适的tensorflow版本,这里有两种方法,其中一种是根据2.7版本的。

网盘地址为:

链接:密码:png8

安装命令为:

sudo apt-get install python-pipsudo pip install yourtensorflow.whl

最近又编译成功了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/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.13

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:6 个可以让代码变得更整洁的 Android 库(618是什么意思)
下一篇:RuntimeError: module compiled against API version 0xb but this version of numpy is 0xa
相关文章

 发表评论

暂时没有评论,来抢沙发吧~