AI SeedbankHelp preserve open and free AI for humanity's future

← All models

shi-labs_oneformer_ade20k_swin_large

shi-labs · View on Hugging Face ↗

Get this model

Download TorrentMagnet Link

Seeders: 1 · Leechers: 0

Observed 2026-09-02T13:56:39Z via announce.aitorrent.org:7070.

Model card

The complete upstream card, rendered from this payload's README.md — the same hash-verified bytes the torrent distributes. Images and off-site links are removed; the original card on Hugging Face carries them.


license: mit tags:

  • vision
  • image-segmentation
  • universal-image-segmentation datasets:
  • scene_parse_150 widget:
  • src: https://praeclarumjj3.github.io/files/ade20k.jpeg example_title: House
  • src: https://praeclarumjj3.github.io/files/demo_2.jpg example_title: Airplane
  • src: https://praeclarumjj3.github.io/files/coco.jpeg example_title: Person

OneFormer

OneFormer model trained on the ADE20k dataset (large-sized version, Swin backbone). It was introduced in the paper OneFormer: One Transformer to Rule Universal Image Segmentation by Jain et al. and first released in this repository.

Model description

OneFormer is the first multi-task universal image segmentation framework. It needs to be trained only once with a single universal architecture, a single model, and on a single dataset, to outperform existing specialized models across semantic, instance, and panoptic segmentation tasks. OneFormer uses a task token to condition the model on the task in focus, making the architecture task-guided for training, and task-dynamic for inference, all with a single model.

Intended uses & limitations

You can use this particular checkpoint for semantic, instance and panoptic segmentation. See the model hub to look for other fine-tuned versions on a different dataset.

How to use

Here is how to use this model:

from transformers import OneFormerProcessor, OneFormerForUniversalSegmentation
from PIL import Image
import requests
url = "https://huggingface.co/datasets/shi-labs/oneformer_demo/blob/main/ade20k.jpeg"
image = Image.open(requests.get(url, stream=True).raw)

# Loading a single model for all three tasks
processor = OneFormerProcessor.from_pretrained("shi-labs/oneformer_ade20k_swin_large")
model = OneFormerForUniversalSegmentation.from_pretrained("shi-labs/oneformer_ade20k_swin_large")

# Semantic Segmentation
semantic_inputs = processor(images=image, task_inputs=["semantic"], return_tensors="pt")
semantic_outputs = model(**semantic_inputs)
# pass through image_processor for postprocessing
predicted_semantic_map = processor.post_process_semantic_segmentation(outputs, target_sizes=[image.size[::-1]])[0]

# Instance Segmentation
instance_inputs = processor(images=image, task_inputs=["instance"], return_tensors="pt")
instance_outputs = model(**instance_inputs)
# pass through image_processor for postprocessing
predicted_instance_map = processor.post_process_instance_segmentation(outputs, target_sizes=[image.size[::-1]])[0]["segmentation"]

# Panoptic Segmentation
panoptic_inputs = processor(images=image, task_inputs=["panoptic"], return_tensors="pt")
panoptic_outputs = model(**panoptic_inputs)
# pass through image_processor for postprocessing
predicted_semantic_map = processor.post_process_panoptic_segmentation(outputs, target_sizes=[image.size[::-1]])[0]["segmentation"]

For more examples, please refer to the documentation.

Citation

@article{jain2022oneformer,
      title={{OneFormer: One Transformer to Rule Universal Image Segmentation}},
      author={Jitesh Jain and Jiachen Li and MangTik Chiu and Ali Hassani and Nikita Orlov and Humphrey Shi},
      journal={arXiv}, 
      year={2022}
    }

Magnet link

Opens the swarm directly in your torrent client — no file download needed. Copy-paste works too:

magnet:?xt=urn:btih:7045707bb3298009ceb834f9f81fa0e1cde223ae&dn=shi-labs_oneformer_ade20k_swin_large

Open magnet in torrent client · infohash 7045707bb3298009ceb834f9f81fa0e1cde223ae

Files & hashes

PathSizesha1sha256
README.md3.6 KB (3,694 B)df343b202e807027c6987a939a5d89fb6ec7e39d987c2f143f6f899d037e24d0110630fbc6eba57ab73b6e0d8c83868597b4c348
config.json82.3 KB (84,289 B)1b2e19858cae8825799b97c3a308d8b699bacb4227452b656a467dbdebdf879dc413d6f3facd2bfe3643824ae66c32c22884b4bd
merges.txt512.3 KB (524,619 B)76e821f1b6f0a9709293c3b6b51ed90980b3166b9fd691f7c8039210e0fced15865466c65820d09b63988b0174bfe25de299051a
preprocessor_config.json8.5 KB (8,709 B)a3963e0b8f08a5ee62f5e50ea9e9856a9a5ec7ab49e2c8f207405d063cf7824f97c2814fa864f8f19ea9e02c9e20a9ff539c6d49
pytorch_model.bin838.8 MB (879,517,517 B)f4acf0062668929818cd24c123020769345334a6c0b2fe11dfecee6f2f1f315f466946e96f4e94813f3f6d660ff3747b83c28cc9
special_tokens_map.json472 B (472 B)2c2130b544c0c5a72d5d00da071ba130a9800fb2c4864a9376a8401918425bed71fc14fc0e81f9b59ec45c1cf96cccb2df508eac
tokenizer_config.json808 B (808 B)5008b5665e05a4bd9949d5d2089845365ac8c238968a6126200b3c8f68fe955d61da20f3537e641a1deb538dc39fdad142248d72
vocab.json1.0 MB (1,059,962 B)469be27c5c010538f845f518c4f5e8574c78f7c8e089ad92ba36837a0d31433e555c8f45fe601ab5c221d4f607ded32d9f7a4349

Cite this release

Canonical URL
https://aiseedbank.org/models/shi-labs_oneformer_ade20k_swin_large/
Slug
shi-labs_oneformer_ade20k_swin_large
Infohash
7045707bb3298009ceb834f9f81fa0e1cde223ae
License
mit
Signing key fingerprint
85a3b32c3712427b

Every file carries a locally computed sha256 — verify a download against the signed sums: shi-labs_oneformer_ade20k_swin_large.SHA256SUMS (+ minisign signature).

Provenance

Upstream repositoryshi-labs/oneformer_ade20k_swin_large
Revision (pinned)4a5bac8e64f82681a12db2e151a4c2f4ce6092b2
Fetched at2026-09-02T04:46:34Z
License at fetchmit
Snapshot toolhuggingface · seedbank 0.1.0

Trackers

✓ verified · rehash-vs-hf-metadata at 2026-09-02T04:46:45Z

mit840.4 MB (881,200,070 bytes)transformerspytorchoneformervisionimage-segmentationuniversal-image-segmentationendpoints_compatiblepaper: 2211.06220