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: 130 Bytes
9500999 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:9a6143c59c3f6e09a629ac74ef342caf44ab2d54a51a7a4707a39c5753cc5bdd
size 24072
|