1、新建conda环境(有则跳过) conda create -n py36 python=3.6 && source activate py36
2、安装pytorch conda install pytorch torchvision -c pytorch
3、安装依赖项 conda install mmcv && conda install cython
4、获取mmdetection git clone https://github.com/open-mmlab/mmdetection.git
5、编译安装 ./compile.sh && python setup.py install
https://github.com/open-mmlab/mmdetection/blob/master/INSTALL.md
https://github.com/open-mmlab/mmdetection/blob/master/docs/INSTALL.md
https://github.com/open-mmlab/mmdetection/blob/master/docs/install.md