Anaconda Prompt在python3.7环境下安装mmrotate和mmdetection平台
时间: 2024-04-22 08:23:42 浏览: 189
在python3.7环境下安装mmrotate和mmdetection平台,可以按照以下步骤进行:
1. 创建一个新的conda环境
```
conda create -n mmrotate python=3.7
conda activate mmrotate
```
2. 安装mmcv-full
```
pip install mmcv-full==1.3.9 -f https://download.openmmlab.com/mmcv/dist/cu101/torch1.7.0/index.html
```
3. 安装mmrotate
```
pip install mmrotate
```
4. 创建一个新的conda环境
```
conda create -n mmdetection python=3.7
conda activate mmdetection
```
5. 安装mmdetection
```
conda install pytorch==1.7.0 torchvision==0.8.1 torchaudio==0.7.0 cudatoolkit=10.1 -c pytorch
pip install mmcv-full==1.2.5 -f https://download.openmmlab.com/mmcv/dist/cu101/torch1.7.0/index.html
git clone https://github.com/open-mmlab/mmdetection.git
cd mmdetection
pip install -r requirements/build.txt
pip install -v -e .
```
注意,这里需要安装特定版本的mmcv-full和pytorch,才能成功安装mmrotate和mmdetection平台。
阅读全文