jetson下载低版本mmdetection
时间: 2023-12-06 08:04:15 浏览: 149
以下是在Jetson上下载低版本mmdetection的步骤:
1.首先,确保您已经安装了PyTorch。您可以通过以下命令检查PyTorch是否已安装:
```python
import torch
print(torch.__version__)
```
2.接下来,您需要克隆mmdetection的GitHub存储库。在终端中运行以下命令:
```python
git clone https://github.com/open-mmlab/mmdetection.git
```
3.进入mmdetection目录并切换到所需的版本。您可以使用以下命令列出所有可用的版本:
```python
git tag
```
4.选择您想要的版本并切换到该版本。例如,如果您想要切换到v1.0rc1版本,则可以使用以下命令:
```python
git checkout v1.0rc1
```
5.安装mmdetection的依赖项。您可以使用以下命令安装所有依赖项:
```python
pip install -r requirements/build.txt
pip install "git+https://github.com/cocodataset/cocoapi.git#subdirectory=PythonAPI"
pip install -v -e .
```
6.现在,您可以测试mmdetection是否已成功安装。您可以使用以下命令运行测试:
```python
python tools/test.py configs/faster_rcnn/faster_rcnn_r50_fpn_1x_coco.py work_dirs/faster_rcnn_r50_fpn_1x_coco/latest.pth --eval bbox
```
阅读全文
相关推荐












