Instructions to use hagerty7/recyclable-materials-classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hagerty7/recyclable-materials-classification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="hagerty7/recyclable-materials-classification") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("hagerty7/recyclable-materials-classification") model = AutoModelForImageClassification.from_pretrained("hagerty7/recyclable-materials-classification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
a3b2267 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:59f8a36f0bb2d2b537b28fc6bfadbc93d7f9dd9fd9839083a26ec8a37f1a48ad
size 343279281
|