Colab安装mmdetection
# 运行环境配置import osos.chdir("/content/drive/MyDrive/Colab")!git clone https://github.com/open-mmlab/mmdetection.git!pip install git+https://github.com/cocodataset/cocoapi.git#"egg=pycocotools&subdirectory=PythonAPI"# 安装必要包!pip install mmcv-full==1.3.17 -f https://download.openmmlab.com/mmcv/dist/cu111/torch1.10.0/index.htmlos.chdir("/content/drive/MyDrive/Colab/mmdetection")!pip install -r requirements/build.txt!pip install -v -e . # or "python setup.py develop"