Instructions to use asusevski/oxford-pets-vit-from-scratch with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use asusevski/oxford-pets-vit-from-scratch with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="asusevski/oxford-pets-vit-from-scratch") 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("asusevski/oxford-pets-vit-from-scratch") model = AutoModelForImageClassification.from_pretrained("asusevski/oxford-pets-vit-from-scratch", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 1c66cbc5cbd379c0bb747eab2fbf909faeb6a22483adce715ed52c969b2e58ac
- Size of remote file:
- 4.73 kB
- SHA256:
- 6702aa44b001715bd23ef1905b23a3ae3f4c634d057448689f54413f7801f346
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.