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", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Yuechen Yang commited on
Commit ·
868dd89
1
Parent(s): cdf5a0f
Upload pytorch_model.bin with git-lfs
Browse files- pytorch_model.bin +3 -0
pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:051d4c7d29fe402c675923760dd03803bf359bd4d4de4e3f6f82aed81b683752
|
| 3 |
+
size 343279281
|