Instructions to use W4ashabii/waste_classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ultralytics
How to use W4ashabii/waste_classifier with ultralytics:
from huggingface_hub import hf_hub_download from ultralytics import YOLO # pick the weights file from this repo's "Files and versions" tab weights = hf_hub_download("W4ashabii/waste_classifier", "<weights>.pt") model = YOLO(weights) source = 'http://images.cocodataset.org/val2017/000000039769.jpg' model.predict(source=source, save=True) - Notebooks
- Google Colab
- Kaggle
Download confusion_matrix_normalized.png from W4ashabii/waste_classifier: direct link, hf CLI and curl.
- Browser
- Download file 85.3 kB
-
https://huggingface.co/W4ashabii/waste_classifier/resolve/main/confusion_matrix_normalized.png
- Command line
-
hf download hf://W4ashabii/waste_classifier/confusion_matrix_normalized.png
-
curl -L -o confusion_matrix_normalized.png https://huggingface.co/W4ashabii/waste_classifier/resolve/main/confusion_matrix_normalized.png
85.3 kB
