
mmdet_mask2former
Segmentation227 ops1.2M params
One mask transformer for panoptic, instance and semantic segmentation, built on masked attention.
Segmentation · 227 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
How this diagram was made
menagerie.classics.mmdet_wave_a:build_mmdet_wave_a: build({}) About this model's family
Mask2Former, the Masked-attention Mask Transformer, is a single architecture for any image segmentation task, whether panoptic, instance or semantic. It was proposed by Bowen Cheng, Ishan Misra, Alexander G. Schwing, Alexander Kirillov and Rohit Girdhar, and brings significant performance and efficiency improvements over MaskFormer. The key component is masked attention, which extracts localized features by constraining cross-attention within predicted mask regions.
Beyond cutting research effort by at least three times, it outperforms the best specialized architectures by a significant margin on four popular datasets. The reported marks are 57.8 PQ for panoptic segmentation on COCO, 50.1 AP for instance segmentation on COCO and 57.7 mIoU for semantic segmentation on ADE20K. In the transformers port, all three tasks are solved from the same Mask2FormerForUniversalSegmentation output, with task-specific post-processing.
Key idea. Masked attention, which constrains cross-attention to predicted mask regions, letting one mask-transformer architecture address panoptic, instance and semantic segmentation.
AI-written summary, based on the model's documentation and checked automatically against it; not reviewed by a person. Corrections welcome.