OpenMMLab is a comprehensive open-source platform developed to accelerate research and development in computer vision.
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 ColabRecent 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
-
!pip3 install -q openmimin its own cell because the kernel may restart after you run, simply re-run it and the following lines should work -
Then, run the folowing two lines.
mmcvmay actually installed with a version not fully compatible with2.2.0, but its okay, simply address that in the next steps.!mim install -q mmengine !mim install -q mmcvlower version of
mmcvmay not work, due to the newer versions of the defaultpythonandtorchin colab. -
Try to build the
mmdetectandmmposefrom 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 -
Do a Editable Installation (
-e) formmdetectandmmpose.-
[You may no longer need it if more updates take place] Visit
(/comtent)/mmdetection/mmdet/folder. Inside__init__.pychange'2.2.0'in the linemmcv_maximum_version = '2.2.0'(should be line 9) into'2.2.1andctrl+sorcommand+sto save. -
Then run the following to install.
!pip install -q -e ./mmdetection !pip install -q -r ./mmpose/requirements.txt !pip install -q -e ./mmpose
-