Instructions to use smc/PANDA_ViT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use smc/PANDA_ViT with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="smc/PANDA_ViT") 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("smc/PANDA_ViT") model = AutoModelForImageClassification.from_pretrained("smc/PANDA_ViT") - Notebooks
- Google Colab
- Kaggle
Sebastián Medina commited on
Commit ·
a4e1027
1
Parent(s): ff13476
Upload 0cee71ab57422e04f76e09ef2186fcd5_1.jpeg
Browse files
0cee71ab57422e04f76e09ef2186fcd5_1.jpeg
ADDED
|