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