当前位置:网站首页>Jetson Nano 上安装 tensorflow2.1 和 pytorch1.4
Jetson Nano 上安装 tensorflow2.1 和 pytorch1.4
2022-07-28 16:39:00 【帅的发光发亮】
基于目前最新的JetPack 4.3的镜像。
开机配置什么的请参考博客
第一步:换pip源
1.根目录创建.pip文件:mkdir ~/.pip
2.创建文件pip.conf:vim .pip/pip.conf
3.点击“i”键,进入编辑模式,复制信息:
sudo mkdir ~/.pip
cd ~/.pip
sudo touch pip.conf
sudo nano ~/.pip/pip.conf
#写入下面这些配置
[global]
index-url = http://pypi.douban.com/simple
[install]
trusted-host=pypi.douban.com
第二步:安装相关依赖
sudo apt-get install libhdf5-serial-dev hdf5-tools libhdf5-dev zlib1g-dev zip libjpeg8-dev
sudo apt-get install python3-pip
sudo pip3 install -U pip
sudo pip3 install -U numpy grpcio absl-py py-cpuinfo psutil portpicker six mock requests gast h5py astor termcolor protobuf keras-applications keras-preprocessing wrapt google-pasta
第三步:安装tensorflow2.1:
$ sudo pip3 install --pre --extra-index-url https://developer.download.nvidia.com/compute/redist/jp/v43 tensorflow==2.1.0+nv20.3
其中在安装2.1版本的时候会出现scipy 1.4.1编译出现问题导致无法安装,
不过这个scipy1.4.1我已经编译好了。
链接:https://pan.baidu.com/s/1VdsNq-ETnIlN5mG8rJXDKw
提取码:6cnb
建议先安装scipy 1.4.1 之后再安装 tensorflow2.1 这样就不会报错了
第四步:顺便安装个keras:
sudo pip3 install keras
第五步:安装pytorch1.4:
wget https://nvidia.box.com/shared/static/ncgzus5o23uck9i5oth2n8n06k340l6k.whl -O torch-1.4.0-cp36-cp36m-linux_aarch64.whl
sudo apt-get install python3-pip libopenblas-base
sudo pip3 install Cython
sudo pip3 install numpy torch-1.4.0-cp36-cp36m-linux_aarch64.whl
边栏推荐
- On the non recursive and recursive implementation of finding the nth Fibonacci number respectively
- [advanced C language] - analyze the storage of micro data in memory [2] (floating point storage)
- OpenMV(一)--基础介绍与硬件架构
- Point cloud processing -- binary tree
- Electrotechnics self study notes 1.22
- com.mysql.jdbc.Driver 和 com.mysql.cj.jdbc.Driver的配置文件
- Point cloud processing - KD tree
- 关于图片的像素、分辨率、尺寸问题的解答,以及显示器的显示大小。
- [p5.js learning notes] mouse interaction event
- Leetcode systematic question brushing (V) -- dynamic programming
猜你喜欢
随机推荐
Leetcode systematic question brushing (II) -- greed, backtracking, recursion
centos使用docker运行mysql后,远程连接需要开放端口
如何安装ps的滤镜插件
数字滤波器(六)--设计FIR滤波器
[reading notes] for:object detection with deep learning: the definitive guide
2.2- data type
Branch and loop statements
MySQL详解
做好视频号需要的特质
公众号和视频号互相绑定带来的功能
[advanced C language] - analyze the storage of micro data in memory [2] (floating point storage)
TensorFlow2.0(十一)--理解LSTM网络
Mmdetection3d (2) -- visualization of results and logs
Connect other computers to local MySQL
The solution to the problem that the computer cannot be charged
有奖征文 | 2022 云原生编程挑战赛征稿活动开启!
临时url
1.2-hexadecimal conversion
com.mysql.jdbc.Driver 和 com.mysql.cj.jdbc.Driver的配置文件
Uniapp local packaging permission configuration problem









