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 ·
bc1c7e3
1
Parent(s): 393860e
Update README.md
Browse files
README.md
CHANGED
|
@@ -49,7 +49,7 @@ Huggingface model card is [here](https://huggingface.co/yangy50/garbage-classifi
|
|
| 49 |
|
| 50 |
## Code Demo
|
| 51 |
|
| 52 |
-
[Code Demo]() is inside this repo
|
| 53 |
|
| 54 |
## Repo
|
| 55 |
In this repo
|
|
|
|
| 49 |
|
| 50 |
## Code Demo
|
| 51 |
|
| 52 |
+
[Code Demo](https://github.com/yuechen-yang/garbage-classification) is inside this repo
|
| 53 |
|
| 54 |
## Repo
|
| 55 |
In this repo
|