Instructions to use google/vit-base-patch32-384 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google/vit-base-patch32-384 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="google/vit-base-patch32-384") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("google/vit-base-patch32-384") model = AutoModelForImageClassification.from_pretrained("google/vit-base-patch32-384") - Inference
- Notebooks
- Google Colab
- Kaggle
Remove some tags
Browse files
README.md
CHANGED
|
@@ -2,15 +2,9 @@
|
|
| 2 |
license: apache-2.0
|
| 3 |
tags:
|
| 4 |
- image-classification
|
| 5 |
-
- timm
|
| 6 |
datasets:
|
| 7 |
-
- cifar10
|
| 8 |
-
- cifar100
|
| 9 |
- imagenet
|
| 10 |
- imagenet-21k
|
| 11 |
-
- oxford-iiit-pets
|
| 12 |
-
- oxford-flowers-102
|
| 13 |
-
- vtab
|
| 14 |
---
|
| 15 |
|
| 16 |
# Vision Transformer (base-sized model)
|
|
|
|
| 2 |
license: apache-2.0
|
| 3 |
tags:
|
| 4 |
- image-classification
|
|
|
|
| 5 |
datasets:
|
|
|
|
|
|
|
| 6 |
- imagenet
|
| 7 |
- imagenet-21k
|
|
|
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
# Vision Transformer (base-sized model)
|