nx搭建yolov5
时间: 2023-09-03 15:09:07 浏览: 156
回答: 您可以按照以下步骤在nx上搭建yolov5模型:
1. 首先,您需要从GitHub上下载yolov5的代码。建议使用yolov5的7版本。请确保您已经更新了pip并安装了最新的版本。在终端中运行以下命令:
```
python3 -m pip install --upgrade pip
git clone https://github.com/ultralytics/yolov5.git
```
2. 进入yolov5文件夹,并安装所需的依赖。在终端中运行以下命令:
```
cd yolov5
pip3 install -r requirements.txt
```
3. 创建CUDA的软连接。在终端中运行以下命令:
```
sudo ln -s /usr/local/cuda-10.2/targets/aarch64-linux/lib lib64
s<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [jetson orin nx上搭建yolov5的运行环境](https://blog.csdn.net/weixin_42283539/article/details/130867469)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [Jetson Xavier NX配置YOLOV5环境](https://blog.csdn.net/weixin_43342667/article/details/129765049)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文