mmdetection VS detectron2

Compare mmdetection vs detectron2 and see what are their differences.

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
mmdetection detectron2
23 49
27,658 28,585
2.0% 1.6%
8.7 7.5
4 days ago 6 days ago
Python Python
Apache License 2.0 Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

mmdetection

Posts with mentions or reviews of mmdetection. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-04-12.
  • Semantic segementation
    2 projects | /r/computervision | 12 Apr 2023
    When I look for benchmarks I always start here https://paperswithcode.com/task/instance-segmentation/codeless it has the lists of datasets to measure models accross lots o papers. Many are very specific models with low support or community but it gives you a good idea of ​​the state of the art. It also lists repositories related to good community. https://github.com/open-mmlab/mmdetection seems very active and the one that is being used the most, you could use the models that it has integrated in its model zoo, within the same repository. It has the benchmarks to compare those same models and some of them are from 2022
  • How to Convert Model Mask into Polygon and save JSON?
    1 project | /r/deeplearning | 18 Jan 2023
    MODEL: https://github.com/open-mmlab/mmdetection
  • Object Detection Model for Custom Dataset Training?
    1 project | /r/learnmachinelearning | 11 Jan 2023
    Would it make sense to work with OpenMMLab (https://github.com/open-mmlab/mmdetection) or Pytorch-image-models (https://github.com/rwightman/pytorch-image-models#models) since they offer a variety of models?
  • [P] Image search with localization and open-vocabulary reranking.
    8 projects | /r/MachineLearning | 15 Dec 2022
    I wanted to have a few choices getting localization into image search (index and search time). I immediately thought of using a region proposal network (rpn) from mask-rcnn to create patches that can also be indexed and searched (and add the localisation). I figured it might be somewhat agnostic to classes. I did not want to use mmdetection or detectron2 due to their dependencies and just getting the rpn was not worth it. I was encouraged by the PyTorch native implementations of detection/segmentation models but ended up finding yolox the best.
  • MMDeploy: Deploy All the Algorithms of OpenMMLab
    22 projects | /r/u_Allent_pjlab | 21 Nov 2022
    MMDetection: OpenMMLab detection toolbox and benchmark.
  • Removing the bounding box generated by OnnxRuntime segmentation
    2 projects | /r/computervision | 4 Nov 2022
    I have a semantic segmentation model trained using the mmdetection repo. Then it is converted to the ONNX format using the mmdeploy repo.
  • Keras vs Tensorflow vs Pytorch for a Final year Project
    2 projects | /r/tensorflow | 10 Oct 2022
    E.g. If you consider it an object detection problem it is: detect and localise all the pedestrians in a frame, and classify them by their (intended) action. IMO the easiest way to do this would be with mmdetection, which is built on top of pytorch. Just label your dataset, build a config, and boom you have a model. Inference with that model in only a few lines of code, you won't really need to learn too much to get started.
  • DeepSort with PyTorch(support yolo series)
    13 projects | /r/u_No_Experience9104 | 20 Sep 2022
    MMDetection
  • [D] Pre-trained networks and batch normalization
    1 project | /r/MachineLearning | 15 Sep 2022
    For example, in mmdetection, they expose options in their config & implementation to freeze batch norm layers in backbones and in this config, norm_eval is set to True meaning to freeze tracking of batch norm stats, while the ResNet backbone is frozen up to the 1st stage. Example of their backbone implementation can be found here.
  • Config files in plain Python
    3 projects | /r/Python | 25 Aug 2022
    MMDetection uses config Python scripting. It's easier to define nn.Module objects other than writing class name in a json config file

detectron2

Posts with mentions or reviews of detectron2. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-09.

What are some alternatives?

When comparing mmdetection and detectron2 you can also consider the following projects:

yolov5 - YOLOv5 🚀 in PyTorch > ONNX > CoreML > TFLite

pytorch-lightning - Build high-performance AI models with PyTorch Lightning (organized PyTorch). Deploy models with Lightning Apps (organized Python to build end-to-end ML systems). [Moved to: https://github.com/Lightning-AI/lightning]

openpose - OpenPose: Real-time multi-person keypoint detection library for body, face, hands, and foot estimation

PaddleDetection - Object Detection toolkit based on PaddlePaddle. It supports object detection, instance segmentation, multiple object tracking and real-time multi-person keypoint detection.

U-2-Net - The code for our newly accepted paper in Pattern Recognition 2020: "U^2-Net: Going Deeper with Nested U-Structure for Salient Object Detection."

mmdetection3d - OpenMMLab's next-generation platform for general 3D object detection.

sahi - Framework agnostic sliced/tiled inference + interactive ui + error analysis plots

rembg - Rembg is a tool to remove images background

Mask_RCNN - Mask R-CNN for object detection and instance segmentation on Keras and TensorFlow

deep-text-recognition-benchmark - Text recognition (optical character recognition) with deep learning methods, ICCV 2019