nvidia / mit-b0

huggingface.co
Total runs: 77.1K
24-hour runs: 0
7-day runs: -17.2K
30-day runs: -67.8K
Model's Last Updated: November 15 2023
image-classification

Introduction of mit-b0

Model Details of mit-b0

SegFormer (b0-sized) encoder pre-trained-only

SegFormer encoder fine-tuned on Imagenet-1k. It was introduced in the paper SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformers by Xie et al. and first released in this repository .

Disclaimer: The team releasing SegFormer did not write a model card for this model so this model card has been written by the Hugging Face team.

Model description

SegFormer consists of a hierarchical Transformer encoder and a lightweight all-MLP decode head to achieve great results on semantic segmentation benchmarks such as ADE20K and Cityscapes. The hierarchical Transformer is first pre-trained on ImageNet-1k, after which a decode head is added and fine-tuned altogether on a downstream dataset.

This repository only contains the pre-trained hierarchical Transformer, hence it can be used for fine-tuning purposes.

Intended uses & limitations

You can use the model for fine-tuning of semantic segmentation. See the model hub to look for fine-tuned versions on a task that interests you.

How to use

Here is how to use this model to classify an image of the COCO 2017 dataset into one of the 1,000 ImageNet classes:

from transformers import SegformerImageProcessor, SegformerForImageClassification
from PIL import Image
import requests

url = "http://images.cocodataset.org/val2017/000000039769.jpg"
image = Image.open(requests.get(url, stream=True).raw)

image_processor = SegformerImageProcessor.from_pretrained("nvidia/mit-b0")
model = SegformerForImageClassification.from_pretrained("nvidia/mit-b0")

inputs = image_processor(images=image, return_tensors="pt")
outputs = model(**inputs)
logits = outputs.logits
# model predicts one of the 1000 ImageNet classes
predicted_class_idx = logits.argmax(-1).item()
print("Predicted class:", model.config.id2label[predicted_class_idx])

For more code examples, we refer to the documentation .

License

The license for this model can be found here .

BibTeX entry and citation info
@article{DBLP:journals/corr/abs-2105-15203,
  author    = {Enze Xie and
               Wenhai Wang and
               Zhiding Yu and
               Anima Anandkumar and
               Jose M. Alvarez and
               Ping Luo},
  title     = {SegFormer: Simple and Efficient Design for Semantic Segmentation with
               Transformers},
  journal   = {CoRR},
  volume    = {abs/2105.15203},
  year      = {2021},
  url       = {https://arxiv.org/abs/2105.15203},
  eprinttype = {arXiv},
  eprint    = {2105.15203},
  timestamp = {Wed, 02 Jun 2021 11:46:42 +0200},
  biburl    = {https://dblp.org/rec/journals/corr/abs-2105-15203.bib},
  bibsource = {dblp computer science bibliography, https://dblp.org}
}

Runs of nvidia mit-b0 on huggingface.co

77.1K
Total runs
0
24-hour runs
0
3-day runs
-17.2K
7-day runs
-67.8K
30-day runs

More Information About mit-b0 huggingface.co Model

More mit-b0 license Visit here:

https://choosealicense.com/licenses/other

mit-b0 huggingface.co

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

nvidia mit-b0 online free

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

nvidia mit-b0 online free url in huggingface.co:

https://huggingface.co/nvidia/mit-b0

mit-b0 install

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

mit-b0 install url in huggingface.co:

https://huggingface.co/nvidia/mit-b0

Url of mit-b0

mit-b0 huggingface.co Url

Provider of mit-b0 huggingface.co

nvidia
ORGANIZATIONS

Other API from nvidia

huggingface.co

Total runs: 1.4M
Run Growth: 157.0K
Growth Rate: 11.28%
Updated:June 27 2026
huggingface.co

Total runs: 335.4K
Run Growth: 135.0K
Growth Rate: 96.81%
Updated:August 11 2026
huggingface.co

Total runs: 324.0K
Run Growth: 56.5K
Growth Rate: 19.39%
Updated:July 10 2026
huggingface.co

Total runs: 232.6K
Run Growth: 214.6K
Growth Rate: 92.28%
Updated:September 10 2025
huggingface.co

Total runs: 163.0K
Run Growth: 73.6K
Growth Rate: 45.19%
Updated:April 11 2026
huggingface.co

Total runs: 147.0K
Run Growth: 76.7K
Growth Rate: 55.31%
Updated:July 10 2026
huggingface.co

Total runs: 128.4K
Run Growth: 24.0K
Growth Rate: 18.70%
Updated:January 15 2025
huggingface.co

Total runs: 106.8K
Run Growth: -23.9K
Growth Rate: -22.39%
Updated:November 29 2025
huggingface.co

Total runs: 76.7K
Run Growth: 59.4K
Growth Rate: 77.48%
Updated:September 10 2025
huggingface.co

Total runs: 57.6K
Run Growth: 33.7K
Growth Rate: 58.45%
Updated:August 06 2022
huggingface.co

Total runs: 36.8K
Run Growth: 4.0K
Growth Rate: 10.85%
Updated:December 16 2025