Instructions to use apple/mobilevit-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use apple/mobilevit-small with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="apple/mobilevit-small") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("apple/mobilevit-small", dtype="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
File size: 187 Bytes
533e346 | 1 2 3 4 5 6 7 8 9 10 | {
"crop_size": 256,
"do_center_crop": true,
"do_flip_channels": true,
"do_resize": true,
"feature_extractor_type": "MobileViTFeatureExtractor",
"resample": 2,
"size": 288
}
|