
smp_Segformer_mobilenet_v2
Segmentation187 ops2.9M params
75 models, segmentation. Fewest parameters first.
SegFormer is Enze Xie, Wenhai Wang, Zhiding Yu, Anima Anandkumar, Jose M. Alvarez and Ping Luo's semantic segmentation framework, a simple and efficient design that unifies Transformers with lightweight MLP decoders. It was accepted at NeurIPS 2021. The paper claims two appealing features: a novel hierarchically structured Transformer encoder that outputs multiscale features and does not need positional encoding, and a decoder that avoids the complexity of its predecessors. Skipping positional encoding avoids interpolating positional codes, which the authors say leads to decreased performance when the testing resolution differs from training.
The MLP decoder aggregates information from different layers, combining local attention and global attention into one powerful representation, and the authors show that this simple and lightweight design is the key to efficient segmentation on Transformers. Scaled from SegFormer-B0 to SegFormer-B5, the B4 model achieves 50.3% mIoU on ADE20K with 64M parameters, 5x smaller and 2.2% better than the previous best method, and B5 achieves 84.0% mIoU on the Cityscapes validation set.
This family captures only the decoder half of that story: the lightweight MLP decoder, fed by 73 different encoders, the paper's own hierarchical MiT Transformers (mit_b0 to mit_b5) among them and the rest convolutional, each producing a 21-class mask at random initialization. The best model, SegFormer-B5, also shows excellent zero-shot robustness on Cityscapes-C.
AI-written summary; not reviewed by a person. Corrections welcome.
Paper: SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformers

Segmentation187 ops2.9M params

Segmentation420 ops3.7M params

Segmentation280 ops3.8M params

Segmentation370 ops4.4M params

Segmentation351 ops4.5M params

Segmentation408 ops4.5M params

Segmentation360 ops4.6M params

Segmentation750 ops5M params

Segmentation360 ops5.3M params

Segmentation370 ops7M params

Segmentation487 ops7M params

Segmentation571 ops7M params

Segmentation408 ops7.4M params

Segmentation465 ops8M params

Segmentation487 ops8.2M params

Segmentation571 ops8.2M params

Segmentation370 ops9.3M params

Segmentation58 ops10M params

Segmentation66 ops10.1M params

Segmentation62 ops10.2M params

Segmentation72 ops10.2M params

Segmentation547 ops11.2M params

Segmentation643 ops11.2M params

Segmentation104 ops11.8M params

Segmentation264 ops12M params

Segmentation504 ops12.2M params

Segmentation356 ops12.6M params

Segmentation378 ops12.6M params

Segmentation420 ops13.7M params

Segmentation633 ops13.8M params

Segmentation442 ops14.2M params

Segmentation68 ops15.5M params

Segmentation81 ops15.5M params

Segmentation667 ops18.1M params

Segmentation787 ops18.1M params

Segmentation745 ops19.6M params

Segmentation74 ops20.9M params

Segmentation90 ops20.9M params

Segmentation160 ops21.9M params

Segmentation202 ops22M params

Segmentation480 ops22.4M params

Segmentation210 ops24.3M params

Segmentation766 ops24.7M params

Segmentation210 ops24.8M params

Segmentation546 ops25.3M params

Segmentation307 ops26.8M params

Segmentation307 ops27.4M params

Segmentation605 ops28.2M params

Segmentation803 ops28.9M params

Segmentation950 ops28.9M params

Segmentation490 ops36.7M params

Segmentation923 ops41.3M params

Segmentation1,094 ops41.3M params

Segmentation528 ops42.3M params

Segmentation380 ops43.5M params

Segmentation380 ops43.8M params

Segmentation1,294 ops44.6M params

Segmentation579 ops48.2M params

Segmentation579 ops48.6M params

Segmentation857 ops55.5M params

Segmentation518 ops60.7M params

Segmentation1,866 ops61.4M params

Segmentation1,119 ops64.4M params

Segmentation1,329 ops64.4M params

Segmentation851 ops66.1M params

Segmentation672 ops78.4M params

Segmentation2,350 ops82M params

Segmentation1,473 ops85.2M params

Segmentation560 ops86.3M params

Segmentation380 ops88.1M params

Segmentation857 ops114.4M params

Segmentation380 ops193.3M params

Segmentation380 ops467.8M params

Segmentation2,111 ops475.7M params

Segmentation380 ops827.7M params