Views
No views yet
plastic, paper, glass, trashtrain and val folders for YOLO format.ultralytics/yolo11n.pt1from huggingface_hub import hf_hub_download
2from ultralytics import YOLO
3
4model_path = hf_hub_download(
5 repo_id="Alope/trash-detection-yolo11n",
6 filename="best.pt"
7)
8model = YOLO(model_path)
9results = model.predict(source="test.jpg", show=True)