当前位置:网站首页>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
边栏推荐
猜你喜欢

Xcode packaging IPA configuration manual configuration certificate
![[advanced C language] - analyze the storage of micro data in memory [2] (floating point storage)](/img/ae/0c5efd7d0179e77a25d6dbd4117c98.png)
[advanced C language] - analyze the storage of micro data in memory [2] (floating point storage)
![[p5.js learning notes] local variable (let) and global variable (VaR) declaration](/img/37/82cdf73eb6527fb2da5bc550c33223.png)
[p5.js learning notes] local variable (let) and global variable (VaR) declaration

Collection集合
![[unity] three pictures let you understand the shadergraph editor](/img/06/cbb9fc84f17fe8682ffd05e02939c3.png)
[unity] three pictures let you understand the shadergraph editor

How to install PS filter plug-in

mmdetection3d(2)---结果、log可视化

数字滤波器(三)--模拟滤波器的设计

【p5.js学习笔记】鼠标交互事件

数字滤波器(五)--设计IIR滤波器
随机推荐
OpenMV(六)--STM32实现物体识别与手写数字识别
Point cloud processing -- binary tree
Mmdetection3d (2) -- visualization of results and logs
数字滤波器(四)--模拟滤波器转化为数字滤波器
电脑充不进去电的解决方法
Compilation principle learning notes 1 (compilation principle overview and lexical analysis)
Leetcode systematic question brushing (V) -- dynamic programming
TensorFlow2.0(十二)--实现简单RNN与LSTM网络
Internal class, common class
MySQL basic queries and operators
1.1- notes
MySQL details
LeetCode--45. 跳跃游戏Ⅱ(贪心)
centos8按照docker官网创wordpress+mysql报错解决
如何安装ps的滤镜插件
The solution to the problem that the computer cannot be charged
[advanced C language] - Advanced pointer [i]
Connect other computers to local MySQL
[C language must see] yo, writing bugs, I'm sure you've stepped on the pit
数字滤波器(六)--设计FIR滤波器