Models

What is Detectron2?

Detectron2 is model zoo of it's own for computer vision models written in PyTorch.

About the model

Here is an overview of the

Detectron2

model:

Date of Release
Model Type Object Detection
Architecture
Framework Used PyTorch
Annotation Format COCO JSON
Stars on GitHub 22900+

What is Detectron2?

Detectron2 is a computer vision model zoo of its own written in PyTorch by the FAIR Facebook AI Research group. Detectron2 includes all the models that were available in the original Detectron, such as Faster R-CNN, Mask R-CNN, RetinaNet, and DensePose as well as some newer models including Cascade R-CNN, Panoptic FPN, and TensorMask. You can use Detectron2 to do key point detection, object detection, and semantic segmentation. Detectron2 registers datasets in COCO JSON format.

Improvements from Detectron

Machine Learning Framework: The original detection was written in Caffe2 whereas Detectron2 has made a switch to PyTorch. This allows for developers to take a far more intuitive approach to test and change the model.

Modular Design: Detectron2's modular design allows for the maximum customizability possible; developers can write custom implementations for any part of the object detection model, allowing for greater flexibility within projects.

New Models: Detectron2 includes new models such as Cascade R-CNN, Panoptic FPN, and TensorMask.

Bringing Models to Production: Detectron2 now contains an extra layer called Detectron2go. This makes it easier to bring state-of-the-art models to production through features including model conversions for the cloud and mobile devices, network quantization, and standard training workflows.

Speed: Detectron2's entire training pipeline has been moved to GPUs, making Detectron2 much faster.

Further Reading for Detectron2

Training Detectron2: https://blog.roboflow.com/how-to-train-detectron2/

Train Edge-Ready Detectron2 Models without Labeling

Using the open-source Autodistill package, you can train efficient models ready for deployment in a few lines of code.

Get started

Check out YOLOv8, defining a new state-of-the-art in computer vision

YOLOv8 is here, setting a new standard for performance in object detection and image segmentation tasks. Roboflow has developed a library of resources to help you get started with YOLOv8, covering guides on how to train YOLOv8, how the model stacks up against v5 and v7, and more.

Learn about YOLOv8

Check out YOLOv8, defining a new state-of-the-art in computer vision

YOLOv8 is here, setting a new standard for performance in object detection and image segmentation tasks. Roboflow has developed a library of resources to help you get started with YOLOv8, covering guides on how to train YOLOv8, how the model stacks up against v5 and v7, and more.

Learn about YOLOv8

Check out YOLOv8, defining a new state-of-the-art in computer vision

YOLOv8 is here, setting a new standard for performance in object detection and image segmentation tasks. Roboflow has developed a library of resources to help you get started with YOLOv8, covering guides on how to train YOLOv8, how the model stacks up against v5 and v7, and more.

Learn about YOLOv8

Check out YOLOv8, defining a new state-of-the-art in computer vision

YOLOv8 is here, setting a new standard for performance in object detection and image segmentation tasks. Roboflow has developed a library of resources to help you get started with YOLOv8, covering guides on how to train YOLOv8, how the model stacks up against v5 and v7, and more.

Learn about YOLOv8

Model Performance

Explore this model on Roboflow

Detectron2 Annotation Format

Detectron2

uses the

COCO JSON

annotation format. If your annotation is in a different format, you can use Roboflow's annotation conversion tools to get your data into the right format.

Convert data between formats

Deploy a computer vision model today

Join 100k developers curating high quality datasets and deploying better models with Roboflow.

Get started