Instructions to use skyau/dog-breed-classifier-vit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use skyau/dog-breed-classifier-vit with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="skyau/dog-breed-classifier-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("skyau/dog-breed-classifier-vit") model = AutoModelForImageClassification.from_pretrained("skyau/dog-breed-classifier-vit") - Notebooks
- Google Colab
- Kaggle
Request: Which ViT and which dog dataset?
#1
by 5hadytru - opened
Hey i'm using this model for a class; which ViT and dog dataset did you use?
Hi, it's "google/vit-base-patch16-224-in21k" and Stanford Dogs dataset
So about 90% accuracy on Stanford Dogs?
Top-1 accuracy 93.2%, Top-5 accuracy 99.6%