Instructions to use watersplash/waste-classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use watersplash/waste-classification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="watersplash/waste-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("watersplash/waste-classification") model = AutoModelForImageClassification.from_pretrained("watersplash/waste-classification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -7,7 +7,7 @@ metrics:
|
|
| 7 |
# Model Card for Model ID
|
| 8 |
|
| 9 |
<!-- Provide a quick summary of what the model is/does. -->
|
| 10 |
-
An Image Classifier fine-tuned on ViT. This model can classify garbage images.
|
| 11 |
|
| 12 |
## Model Details
|
| 13 |
|
|
|
|
| 7 |
# Model Card for Model ID
|
| 8 |
|
| 9 |
<!-- Provide a quick summary of what the model is/does. -->
|
| 10 |
+
An Image Classifier model fine-tuned on ViT. This model can classify garbage images.
|
| 11 |
|
| 12 |
## Model Details
|
| 13 |
|