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 ·
b8700ef
1
Parent(s): a4e1027
Upload 0c88d7c7033e2048b1068e208b105270_4.jpeg
Browse files
0c88d7c7033e2048b1068e208b105270_4.jpeg
ADDED
|