Supervisely +
Detectron2 Integration

Train and serve Detectron2 Mask R-CNN instance segmentation models.

What it does

Train Detectron2 and Serve Detectron2 bring Detectron2’s Mask R-CNN instance segmentation baselines into Supervisely, with FPN, C4 and DC5 backbones pretrained on COCO, LVIS and Cityscapes.

The serving app applies the model to a whole image or a region of interest, given by URL, local file or Supervisely image ID, and works with other Supervisely apps or the API.

Supported workflows

  • Instance segmentation only.
  • Define train / validation splits, classes, augmentations and hyperparameters.
  • Monitor metric charts and preview predictions in real time while training.
  • Save trained models to Team Files.
  • Serve on GPU or CPU for use from apps or the API.

Setup overview

  1. Add Train Detectron2 to your team and run it on a project labeled with bitmaps or polygons.
  2. Configure the splits, classes, augmentations and model, and start training.
  3. Run Serve Detectron2, choose the model and the device, and press Run.
  4. Use the served model in apps such as Apply NN to Images Project.