Unverified Commit d85f58ab authored by Shilong Zhang's avatar Shilong Zhang Committed by GitHub
Browse files

add quick install command (#1366)

parent 0f55643c
...@@ -37,6 +37,25 @@ The required versions of MMCV, MMDetection and MMSegmentation for different vers ...@@ -37,6 +37,25 @@ The required versions of MMCV, MMDetection and MMSegmentation for different vers
## Install MMDetection3D ## Install MMDetection3D
### Quick installation instructions script
Assuming that you already have CUDA 11.0 installed, here is a full script for quick installation of MMDetection3D with conda.
Otherwise, you should refer to the step-by-step installation instructions in the next section.
```shell
conda create -n open-mmlab python=3.7 pytorch=1.9 cudatoolkit=11.0 torchvision -c pytorch -y
conda activate open-mmlab
pip3 install openmim
mim install mmcv-full
mim install mmdet
mim install mmsegmentation
git clone https://github.com/open-mmlab/mmdetection3d.git
cd mmdetection3d
pip3 install -e .
```
### Step-by-step installation instructions
**a. Create a conda virtual environment and activate it.** **a. Create a conda virtual environment and activate it.**
```shell ```shell
......
...@@ -34,6 +34,24 @@ ...@@ -34,6 +34,24 @@
## MMdetection3D 安装流程 ## MMdetection3D 安装流程
### 快速安装脚本
如果你已经成功安装 CUDA 11.0,那么你可以使用这个快速安装命令进行 MMDetection3D 的安装。 否则,则参考下一小节的详细安装流程。
```shell
conda create -n open-mmlab python=3.7 pytorch=1.9 cudatoolkit=11.0 torchvision -c pytorch -y
conda activate open-mmlab
pip3 install openmim
mim install mmcv-full
mim install mmdet
mim install mmsegmentation
git clone https://github.com/open-mmlab/mmdetection3d.git
cd mmdetection3d
pip3 install -e .
```
### 详细安装流程
**a. 使用 conda 新建虚拟环境,并进入该虚拟环境。** **a. 使用 conda 新建虚拟环境,并进入该虚拟环境。**
```shell ```shell
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment