小车组装
参考,https://www.bilibili.com/video/BV1Qb4y1C7cj?from=search&seid=3700412571447605611&spm_id_from=333.337.0.0
Ubuntu系统安装
系统下载
地址,https://developer.nvidia.com/embedded/downloads
系统安装
参考,https://blog.csdn.net/qq_36780295/article/details/108449150
jetbot框架安装
下载,https://github.com/NVIDIA-AI-IOT/jetbot
参考,https://www.it610.com/article/1361466680533868544.htm
深度学习框架
Opencv重新编译
下载,https://opencv.org/releases/
参考,https://blog.csdn.net/quantum7/article/details/103984541
TensorFlow
tf_gpu_2.2.0 与CUDA10.2对应;tf_gpu_2.0.0 与CUDA10.0对应。
Jetbot系统自带了CUDA环境,查看自己的CUDA版本,选择与之对应的。
提示,刚开始安装了不对应的版本,浪费了不少时间。
Scipy安装
使用sudo apt install scipy 安装,但是版本不对应。
使用pip3 install scipy 不能成功。
先自行卸载scipy,使用sudo apt 命令卸载,pip无法卸载它。
本地下载scipy==1.4.1(我所需的版本),解压出来,进入目录,使用
python3 setup.py install (需要重新编译,速度非常慢,可能需要2-3小时)
此外,安装它时报错,需要使用以下命令
sudo apt-get install libblas-dev
sudo apt-get install liblapack-dev
sudo apt-get install gfortran
sudo apt-get install python-scipy
按顺序安装,不先安装其他依赖,无法正常安装。
h5py 安装
直接pip3安装如果失败
参考,https://blog.csdn.net/weixin_42062018/article/details/119546939
下载,https://developer.nvidia.com/embedded/downloads#?search=tensorflow
Pytorch
下载地址,https://forums.developer.nvidia.com/t/pytorch-for-jetson-version-1-10-now-available/72048
完成后切换目录使用命令安装
sudo pip3 install torch-1.6.0a0+b31f58d-cp36-cp36m-linux_aarch64.whl
sudo pip3 install torchvision