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