apple / deeplabv3-mobilevit-x-small

huggingface.co
Total runs: 212
24-hour runs: -5
7-day runs: 36
30-day runs: 115
Model's Last Updated: February 25 2025
image-segmentation

Introduction of deeplabv3-mobilevit-x-small

Model Details of deeplabv3-mobilevit-x-small

MobileViT + DeepLabV3 (extra small-sized model)

MobileViT model pre-trained on PASCAL VOC at resolution 512x512. It was introduced in MobileViT: Light-weight, General-purpose, and Mobile-friendly Vision Transformer by Sachin Mehta and Mohammad Rastegari, and first released in this repository . The license used is Apple sample code license .

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

Model description

MobileViT is a light-weight, low latency convolutional neural network that combines MobileNetV2-style layers with a new block that replaces local processing in convolutions with global processing using transformers. As with ViT (Vision Transformer), the image data is converted into flattened patches before it is processed by the transformer layers. Afterwards, the patches are "unflattened" back into feature maps. This allows the MobileViT-block to be placed anywhere inside a CNN. MobileViT does not require any positional embeddings.

The model in this repo adds a DeepLabV3 head to the MobileViT backbone for semantic segmentation.

Intended uses & limitations

You can use the raw model for 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:

from transformers import MobileViTFeatureExtractor, MobileViTForSemanticSegmentation
from PIL import Image
import requests

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

feature_extractor = MobileViTFeatureExtractor.from_pretrained("apple/deeplabv3-mobilevit-x-small")
model = MobileViTForSemanticSegmentation.from_pretrained("apple/deeplabv3-mobilevit-x-small")

inputs = feature_extractor(images=image, return_tensors="pt")

outputs = model(**inputs)
logits = outputs.logits
predicted_mask = logits.argmax(1).squeeze(0)

Currently, both the feature extractor and model support PyTorch.

Training data

The MobileViT + DeepLabV3 model was pretrained on ImageNet-1k , a dataset consisting of 1 million images and 1,000 classes, and then fine-tuned on the PASCAL VOC2012 dataset.

Training procedure
Preprocessing

At inference time, images are center-cropped at 512x512. Pixels are normalized to the range [0, 1]. Images are expected to be in BGR pixel order, not RGB.

Pretraining

The MobileViT networks are trained from scratch for 300 epochs on ImageNet-1k on 8 NVIDIA GPUs with an effective batch size of 1024 and learning rate warmup for 3k steps, followed by cosine annealing. Also used were label smoothing cross-entropy loss and L2 weight decay. Training resolution varies from 160x160 to 320x320, using multi-scale sampling.

To obtain the DeepLabV3 model, MobileViT was fine-tuned on the PASCAL VOC dataset using 4 NVIDIA A100 GPUs.

Evaluation results
BibTeX entry and citation info
@inproceedings{vision-transformer,
title = {MobileViT: Light-weight, General-purpose, and Mobile-friendly Vision Transformer},
author = {Sachin Mehta and Mohammad Rastegari},
year = {2022},
URL = {https://arxiv.org/abs/2110.02178}
}

Runs of apple deeplabv3-mobilevit-x-small on huggingface.co

212
Total runs
-5
24-hour runs
1
3-day runs
36
7-day runs
115
30-day runs

More Information About deeplabv3-mobilevit-x-small huggingface.co Model

More deeplabv3-mobilevit-x-small license Visit here:

https://choosealicense.com/licenses/other

deeplabv3-mobilevit-x-small huggingface.co

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

deeplabv3-mobilevit-x-small huggingface.co Url

https://huggingface.co/apple/deeplabv3-mobilevit-x-small

apple deeplabv3-mobilevit-x-small online free

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

apple deeplabv3-mobilevit-x-small online free url in huggingface.co:

https://huggingface.co/apple/deeplabv3-mobilevit-x-small

deeplabv3-mobilevit-x-small install

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

deeplabv3-mobilevit-x-small install url in huggingface.co:

https://huggingface.co/apple/deeplabv3-mobilevit-x-small

Url of deeplabv3-mobilevit-x-small

deeplabv3-mobilevit-x-small huggingface.co Url

Provider of deeplabv3-mobilevit-x-small huggingface.co

apple
ORGANIZATIONS

Other API from apple

huggingface.co

Total runs: 26.1K
Run Growth: -3.1K
Growth Rate: -11.78%
Updated:March 01 2025
huggingface.co

Total runs: 9.9K
Run Growth: 2.1K
Growth Rate: 20.77%
Updated:February 25 2025
huggingface.co

Total runs: 8.3K
Run Growth: -11.6K
Growth Rate: -140.97%
Updated:September 03 2025
huggingface.co

Total runs: 3.5K
Run Growth: -4.0K
Growth Rate: -112.56%
Updated:March 01 2025
huggingface.co

Total runs: 3.5K
Run Growth: 1.8K
Growth Rate: 52.90%
Updated:March 01 2025
huggingface.co

Total runs: 2.0K
Run Growth: -1.4K
Growth Rate: -66.18%
Updated:December 19 2025
huggingface.co

Total runs: 2.0K
Run Growth: -755
Growth Rate: -38.50%
Updated:September 03 2025
huggingface.co

Total runs: 1.5K
Run Growth: -1.6K
Growth Rate: -110.90%
Updated:March 01 2025
huggingface.co

Total runs: 975
Run Growth: 667
Growth Rate: 68.41%
Updated:March 01 2025
huggingface.co

Total runs: 792
Run Growth: 60
Growth Rate: 7.58%
Updated:September 03 2025
huggingface.co

Total runs: 405
Run Growth: 130
Growth Rate: 32.10%
Updated:March 01 2025
huggingface.co

Total runs: 251
Run Growth: -6.6K
Growth Rate: -2628.69%
Updated:July 26 2024
huggingface.co

Total runs: 231
Run Growth: -52
Growth Rate: -22.51%
Updated:April 25 2026
huggingface.co

Total runs: 188
Run Growth: 63
Growth Rate: 33.51%
Updated:October 10 2025
huggingface.co

Total runs: 188
Run Growth: 157
Growth Rate: 84.41%
Updated:March 01 2025
huggingface.co

Total runs: 175
Run Growth: 30
Growth Rate: 17.14%
Updated:September 03 2025
huggingface.co

Total runs: 166
Run Growth: 74
Growth Rate: 44.58%
Updated:October 10 2025
huggingface.co

Total runs: 97
Run Growth: 21
Growth Rate: 21.65%
Updated:March 01 2025
huggingface.co

Total runs: 93
Run Growth: -58
Growth Rate: -62.37%
Updated:June 14 2024
huggingface.co

Total runs: 93
Run Growth: 39
Growth Rate: 41.94%
Updated:August 02 2024
huggingface.co

Total runs: 83
Run Growth: -55
Growth Rate: -66.27%
Updated:September 03 2025
huggingface.co

Total runs: 70
Run Growth: 65
Growth Rate: 92.86%
Updated:April 15 2026
huggingface.co

Total runs: 69
Run Growth: -1
Growth Rate: -1.72%
Updated:March 01 2025
huggingface.co

Total runs: 59
Run Growth: 41
Growth Rate: 69.49%
Updated:March 01 2025
huggingface.co

Total runs: 45
Run Growth: -2
Growth Rate: -4.44%
Updated:October 10 2025
huggingface.co

Total runs: 45
Run Growth: -6
Growth Rate: -13.33%
Updated:April 15 2026