mmdetection VS sahi

Compare mmdetection vs sahi and see what are their differences.

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
mmdetection sahi
23 11
27,742 3,553
2.3% 3.9%
8.7 6.6
7 days ago 14 days ago
Python Python
Apache License 2.0 MIT License
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

sahi

Posts with mentions or reviews of sahi. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-22.
  • How to Detect Small Objects
    3 projects | dev.to | 22 Apr 2024
    An alternative to this is to leverage existing object detection, apply the model to patches or slices of fixed size in our image, and then stitch the results together. This is the idea behind Slicing-Aided Hyper Inference!
  • Small-Object Detection using YOLOv8
    1 project | /r/computervision | 15 Aug 2023
    Hi All, I am trying to detect defects in the images using YOLOv8where some of the classes (defectType1, defectType2) have very small bounding boxes and some of them have large bounding boxes associated with the, (defectType3, defectType4). Also, real-time operation is desired (at least 5Hz on Jetson Xavier) What I have done till now: I am primarily trying to use the SAHI technique (Slicing Aided Hyper Inference)
  • Changing labels of default YOLOv5 model
    2 projects | /r/learnmachinelearning | 12 Jul 2023
    I am using the default YOLOv5m6 model here with sahi/yolov5 library for my object detection project. I want to change just some of labels - for example when YOLO detects a human, I want it to label the human as "threat", not "person". Is there any way I can do it just changing some code, or I should train the model from scratch by just changing labels?
  • Which Azure service to host this ML model
    1 project | /r/AZURE | 29 May 2023
    I need to execute this model https://github.com/obss/sahi upon an HTTP request. I will need between 32GB and 128GB of RAM (depending on the request). Also, I will only receive this request once or twice a week (they are not predefined dates). Each process may take a few hours.
  • Library for chopping image in pieces for training
    1 project | /r/deeplearning | 9 May 2023
    https://github.com/obss/sahi should do the job
  • Semantic Segmentation with 2048x1024 images
    1 project | /r/computervision | 5 Mar 2023
    I think you have multiple options: why run inference on this large resolution? Why not run on 1024x512 or smaller. Use a smaller model which uses less memory, eg enet, erfnet, bisenet etc. Otherwise, patchbased inference is the way to go, there is a nice library, but also easy to implement yourself: https://github.com/obss/sahi
  • How to convert big TIF image to smaller jpgs
    1 project | /r/computervision | 12 Jan 2023
    i have the EXACT thing ! the libs github!
  • Roboflow 100: A New Object Detection Benchmark
    5 projects | news.ycombinator.com | 28 Dec 2022
    Good idea. I haven’t looked too closely yet at the “hard” datasets.

    We originally considered “fixing” the labels on these datasets by hand, but ultimately decided that label error is one of the challenges “real world” datasets have that models should work to become more robust against. There is some selection bias in that we did make sure that the datasets we chose passed the eye test (in other words, it looked like the user spent a considerable amount of time annotating & a sample of the images looked like they labeled some object of interest).

    For aerial images in particular my guess would be that these models suffer from the “small object problem”[1] where the subjects are tiny compared to the size of the image. Trying a sliding window based approach like SAHI[2] on them would probably produce much better results (at the expense of much lower inference speed).

    [1] https://blog.roboflow.com/detect-small-objects/

    [2] https://github.com/obss/sahi

  • Diffusion model for synthetc data generation
    1 project | /r/deeplearning | 17 Oct 2022
    I am not very experienced, but do I understand that the problem is the size of the image? If so, have you heard of sahi
  • Which model is best for detecting small objects? Yolov3? MaskRCNN, Faster-RCNN?
    2 projects | /r/computervision | 26 May 2022
    Try slicing and yolov4. https://github.com/obss/sahi

What are some alternatives?

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

detectron2 - Detectron2 is a platform for object detection, segmentation and other visual recognition tasks.

PixelLib - Visit PixelLib's official documentation https://pixellib.readthedocs.io/en/latest/

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

darknet - YOLOv4 / Scaled-YOLOv4 / YOLO - Neural Networks for Object Detection (Windows and Linux version of Darknet )

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]

mask-rcnn - Mask-RCNN training and prediction in MATLAB for Instance Segmentation

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

awesome-tiny-object-detection - 🕶 A curated list of Tiny Object Detection papers and related resources.

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

fastdup - fastdup is a powerful free tool designed to rapidly extract valuable insights from your image & video datasets. Assisting you to increase your dataset images & labels quality and reduce your data operations costs at an unparalleled scale.

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

datumaro - Dataset Management Framework, a Python library and a CLI tool to build, analyze and manage Computer Vision datasets.