OpenMMLab is a comprehensive open-source platform developed to accelerate research and development in computer vision.

OpenMM Lab

OpenMMLab serves as a collection of toolkits and frameworks for a wide range of computer vision (CV) tasks, ie. object detection, semantic segmentation, pose estimation, and optical character recognition (OCR). Built on top of PyTorch, it has become one of the most popular and influential repositories for computer vision, bridging the gap between academic research and industrial applications. Check out the OpenMMLab Github

Core Components of OpenMMLab





OpenMM and Colab

Open Google Colab and start a new notebook.

Run in Colab

Recent Google Colab has a built-in torch:Version: 2.3.1+cu121 and CUDA 12.2, it should generally work with the following steps

Start with

  1. !pip3 install -q openmim in its own cell because the kernel may restart after you run, simply re-run it and the following lines should work

  2. Then, run the folowing two lines. mmcv may actually installed with a version not fully compatible with 2.2.0, but its okay, simply address that in the next steps.

    !mim install -q mmengine
    !mim install -q mmcv

    lower version of mmcv may not work, due to the newer versions of the default python and torch in colab.

  3. Try to build the mmdetect and mmpose from its source, therefore clone their repos. In another cell, run the following.

    !git clone https://github.com/open-mmlab/mmdetection.git
    !git clone https://github.com/open-mmlab/mmpose.git

    GitHub: open-mmlab/mmdetection GitHub: open-mmlab/mmpose

  4. Do a Editable Installation (-e) for mmdetect and mmpose.

    1. [You may no longer need it if more updates take place] Visit (/comtent)/mmdetection/mmdet/ folder. Inside __init__.py change '2.2.0' in the line mmcv_maximum_version = '2.2.0' (should be line 9) into '2.2.1 and ctrl+s or command+s to save.

    2. Then run the following to install.

      !pip install -q -e ./mmdetection
      !pip install -q -r ./mmpose/requirements.txt
      !pip install -q -e ./mmpose