Ubuntu 18.04 mmdetection环境配置

  1. 创建conda环境并激活
conda create -n mmdet python=3.7
conda activate mmdet
  1. pip安装torch
pip install torch==1.6.0 torchvision==0.7.0 -i https://mirrors.aliyun.com/pypi/simple
  1. 进入mmdetection目录
pip install mmcv -i https://mirrors.aliyun.com/pypi/simple
python setup.py develop

你可能感兴趣的:(深度学习)