TX2 jetpack3.3.3 python2 安装tensorflow_gpu
2021/5/8 12:29:03
本文主要是介绍TX2 jetpack3.3.3 python2 安装tensorflow_gpu,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!
首先确定自己TX2的python环境为python2.7,接下来就是如何安装tensorflow_gpu了。
安装之前,需要安装pip。这里不建议采用 sudo apt-get install python-pip ,可能因为网络的问题,安装会不全面,导致后面安装tensorflow出问题。
采用软件包安装pip,使用如下安装命令:
sudo python setup.py install
pip安装包下载链接:链接: https://pan.baidu.com/s/13dCx3ZK8i_QyH4RkrG6IXw 提取码: t8v5
对应的tensorflow_gpu下载链接(注意:需要科学上网哟):
https://developer.download.nvidia.cn/compute/redist/jp33/tensorflow-gpu/tensorflow_gpu-1.9.0+nv18.8-cp27-cp27mu-linux_aarch64.whl
下载完成后,进入下载到的文件中,输入命令行:
sudo pip install tensorflow_gpu-1.9.0+nv18.8-cp27-cp27mu-linux_aarch64.whl
等待几分钟,即可安装完毕。
安装过程中,可能出现如下错误:
ERROR:markdown 3.1.1 has requirement setuptools>=36,but you'll have setuptools 20.7.0 w
错误原因:markdown与setuptools版本不匹配
解决方法:(1)卸载原有的setuptools:sudo apt-get remove python-setuptools
(2)卸载setuptools依赖的软件包:sudo apt-get autoremove
(3)安装其他版本setuptools:sudo python setup.py install(这里安装的是setuptools36.2.4)
对应的下载链接: https://pan.baidu.com/s/13dCx3ZK8i_QyH4RkrG6IXw 提取码: t8v5
参考链接:
https://blog.csdn.net/chongzi865458/article/details/93723093
https://www.pythonf.cn/read/37946
这篇关于TX2 jetpack3.3.3 python2 安装tensorflow_gpu的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!
- 2024-01-23供应链投毒预警 | 恶意Py包仿冒tensorflow AI框架实施后门投毒攻击
- 2024-01-19attributeerror: module 'tensorflow' has no attribute 'placeholder'
- 2024-01-19module 'tensorflow.compat.v2' has no attribute 'internal'
- 2023-07-17【2023年】第33天 Neural Networks and Deep Learning with TensorFlow
- 2023-07-10【2023年】第32天 Boosted Trees with TensorFlow 2.0(随机森林)
- 2023-07-09【2023年】第31天 Logistic Regression with TensorFlow 2.0(用TensorFlow进行逻辑回归)
- 2023-07-01【2023年】第30天 Supervised Learning with TensorFlow 2(用TensorFlow进行监督学习 2)
- 2023-06-18【2023年】第29天 Supervised Learning with TensorFlow 1(用TensorFlow进行监督学习 1)
- 2023-06-17【2023年】第28天 tensorflow的介绍
- 2023-05-16如何在 Windows10 下运行 Tensorflow 的目标检测?