Mask2Former is a unified segmentation architecture that handles semantic, instance, and panoptic segmentation with one model and one training recipe. Its core idea is to cast segmentation as mask classification: a transformer decoder predicts a set of mask queries, each with an associated class score, eliminating the need for task-specific heads. A pixel decoder fuses multi-scale features and feeds masked attention in the transformer so each query focuses computation on its current spatial support. This leads to accurate masks with sharp boundaries and strong small-object performance while remaining efficient on high-resolution inputs. The project provides extensive configurations and pretrained models across popular benchmarks like COCO, ADE20K, and Cityscapes. Built on top of Detectron2, it includes training scripts, inference tools, and visualization utilities that make experimentation straightforward.

Features

  • Single architecture for semantic, instance, and panoptic segmentation
  • Mask-classification formulation with a transformer decoder over queries
  • Pixel decoder plus masked attention for focused, efficient computation
  • Multi-scale feature fusion for robust small-object and boundary accuracy
  • Comprehensive configs and pretrained models on standard datasets
  • Detectron2-based training, inference, and visualization tools

Project Samples

Project Activity

See All Activity >

Categories

AI Models

License

MIT License

Follow Mask2Former

Mask2Former Web Site

Other Useful Business Software
Enterprise-grade ITSM, for every business Icon
Enterprise-grade ITSM, for every business

Give your IT, operations, and business teams the ability to deliver exceptional services—without the complexity.

Freshservice is an intuitive, AI-powered platform that helps IT, operations, and business teams deliver exceptional service without the usual complexity. Automate repetitive tasks, resolve issues faster, and provide seamless support across the organization. From managing incidents and assets to driving smarter decisions, Freshservice makes it easy to stay efficient and scale with confidence.
Try it Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Mask2Former!

Additional Project Details

Programming Language

Python

Related Categories

Python AI Models

Registered

2025-10-07