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