Instructions to use Andron00e/ViTForImageClassification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Andron00e/ViTForImageClassification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="Andron00e/ViTForImageClassification") 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("Andron00e/ViTForImageClassification") model = AutoModelForImageClassification.from_pretrained("Andron00e/ViTForImageClassification") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
8697aff | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:eeb6345552a4571d91195871d9ab76dfc7b1adc2cc098c31402fcff9ce22601d
size 343293293
|