安装mmrotate和mmdetection平台
时间: 2023-08-19 15:04:13 浏览: 132
安装mmrotate:
1. 首先安装依赖项
```
sudo apt-get update
sudo apt-get install libopencv-dev python3-opencv libyaml-dev python3-pip
```
2. 安装mmrotate
```
pip3 install mmcv-full==latest+torch1.9.0+cu111 -f https://download.openmmlab.com/mmcv/dist/cu111/torch1.9.0/index.html
pip3 install mmrotate
```
安装mmdetection:
1. 安装依赖项
```
sudo apt-get update
sudo apt-get install python3-dev git
sudo apt-get install libopencv-dev python3-opencv
sudo apt-get install libopenblas-dev libblas-dev m4 cmake cython python3-dev python3-yaml python3-setuptools
```
2. Clone mmdetection
```
git clone https://github.com/open-mmlab/mmdetection.git
cd mmdetection
```
3. 安装mmdetection
```
pip3 install -r requirements/build.txt
pip3 install -v -e . # or "python setup.py develop"
```
阅读全文