anaconda中安装mmdetection

时间:2025-03-01 18:05:14

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