zeromodels / maskformer-swin-tiny-ade

huggingface.co
Total runs: 32
24-hour runs: 0
7-day runs: -11
30-day runs: 3
Model's Last Updated: August 27 2026
image-segmentation

Introduction of maskformer-swin-tiny-ade

Model Details of maskformer-swin-tiny-ade

See our collection for all versions of MaskFormer.

Run MaskFormer with Keras 3: JAX, PyTorch, or TensorFlow

GitHub Docs Collection

kerasformers/maskformer-swin-tiny-ade

Paper: Per-Pixel Classification is Not All You Need for Semantic Segmentation (arXiv:2107.06278) · HF Papers

MaskFormer reframes segmentation as mask classification: a backbone and pixel decoder feed a transformer decoder whose queries each predict a binary mask and a class. One architecture covers semantic, instance, and panoptic outputs via post-processing.

For more details on the model, please go to the upstream model card .

Pure- Keras 3 conversion of facebook/maskformer-swin-tiny-ade for kerasformers . One implementation runs unmodified on TensorFlow / Torch / JAX .

This is a universal segmentation checkpoint ( MaskFormerUniversalSegment ) trained on ADE20K.

✨ Quick start
import os
os.environ["KERAS_BACKEND"] = "torch"  # or "jax" / "tensorflow"

from PIL import Image
from kerasformers.models.maskformer import MaskFormerUniversalSegment, MaskFormerImageProcessor

model = MaskFormerUniversalSegment.from_weights("kerasformers/maskformer-swin-tiny-ade")
processor = MaskFormerImageProcessor.from_weights("kerasformers/maskformer-swin-tiny-ade")

image = Image.open("your_image.jpg").convert("RGB")
output = model(processor(image)["pixel_values"], training=False)
result = processor.post_process_panoptic_segmentation(
    output, target_size=(image.height, image.width)
)
print(result["segmentation"].shape)

Load any MaskFormer variant the same way with from_weights("kerasformers/<variant>") :

Variant Hub Dataset
maskformer-swin-tiny-coco kerasformers/maskformer-swin-tiny-coco COCO
maskformer-swin-small-coco kerasformers/maskformer-swin-small-coco COCO
maskformer-swin-base-coco kerasformers/maskformer-swin-base-coco COCO
maskformer-swin-tiny-ade kerasformers/maskformer-swin-tiny-ade ADE20K
maskformer-swin-base-ade kerasformers/maskformer-swin-base-ade ADE20K
Tips
  • Set KERAS_BACKEND before importing Keras / kerasformers.
  • Prefer MaskFormerImageProcessor.from_weights(...) so resolution matches the variant.
  • See MaskFormer docs and Loading Weights .
  • Community / upstream weights: MaskFormerUniversalSegment.from_weights("hf:facebook/maskformer-swin-tiny-ade") .
Special Thanks

A huge thank you to the Facebook AI Research MaskFormer authors for creating and releasing these models.

License: CC-BY-NC-4.0 (non-commercial).

Runs of zeromodels maskformer-swin-tiny-ade on huggingface.co

32
Total runs
0
24-hour runs
3
3-day runs
-11
7-day runs
3
30-day runs

More Information About maskformer-swin-tiny-ade huggingface.co Model

More maskformer-swin-tiny-ade license Visit here:

https://choosealicense.com/licenses/cc-by-nc-4.0

maskformer-swin-tiny-ade huggingface.co

maskformer-swin-tiny-ade huggingface.co is an AI model on huggingface.co that provides maskformer-swin-tiny-ade's model effect (), which can be used instantly with this zeromodels maskformer-swin-tiny-ade model. huggingface.co supports a free trial of the maskformer-swin-tiny-ade model, and also provides paid use of the maskformer-swin-tiny-ade. Support call maskformer-swin-tiny-ade model through api, including Node.js, Python, http.

maskformer-swin-tiny-ade huggingface.co Url

https://huggingface.co/zeromodels/maskformer-swin-tiny-ade

zeromodels maskformer-swin-tiny-ade online free

maskformer-swin-tiny-ade huggingface.co is an online trial and call api platform, which integrates maskformer-swin-tiny-ade's modeling effects, including api services, and provides a free online trial of maskformer-swin-tiny-ade, you can try maskformer-swin-tiny-ade online for free by clicking the link below.

zeromodels maskformer-swin-tiny-ade online free url in huggingface.co:

https://huggingface.co/zeromodels/maskformer-swin-tiny-ade

maskformer-swin-tiny-ade install

maskformer-swin-tiny-ade is an open source model from GitHub that offers a free installation service, and any user can find maskformer-swin-tiny-ade on GitHub to install. At the same time, huggingface.co provides the effect of maskformer-swin-tiny-ade install, users can directly use maskformer-swin-tiny-ade installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

maskformer-swin-tiny-ade install url in huggingface.co:

https://huggingface.co/zeromodels/maskformer-swin-tiny-ade

Url of maskformer-swin-tiny-ade

maskformer-swin-tiny-ade huggingface.co Url

Provider of maskformer-swin-tiny-ade huggingface.co

zeromodels
ORGANIZATIONS

Other API from zeromodels