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