
segformer (image classification)
Segmentation328 ops3.3M params
8 models, segmentation. Fewest parameters first.
SegFormer is a semantic segmentation model that combines a hierarchical Transformer encoder, the Mix Transformer or MiT, with a lightweight all-MLP decoder. It avoids positional encodings and complex decoders and achieves state-of-the-art performance on benchmarks like ADE20K and Cityscapes. This simple and lightweight design is more efficient and scalable.
SegFormer works with any input size, padding inputs to be divisible by the configured patch sizes. The captured segmentation members follow the b0 to b5 encoder sizes behind checkpoints such as nvidia/segformer-b0-finetuned-ade-512-512, but are built from configs with random weights, and one further member uses the SegformerForImageClassification head instead. A labeling quirk to know: some datasets, ADE20k among them, use index 0 for background without a background class, so the processor's do_reduce_labels option reduces all labels by 1. You can find all the original SegFormer checkpoints under the NVIDIA organization.
AI-written summary; not reviewed by a person. Corrections welcome.

Segmentation328 ops3.3M params

Segmentation354 ops3.7M params

Segmentation354 ops3.8M params

Segmentation354 ops13.7M params

Segmentation652 ops27.5M params

Segmentation1,108 ops47.3M params

Segmentation1,602 ops64.1M params

Segmentation2,020 ops84.7M params