Views
No views yet
yolov8n.pt (fine-tuned)| ID | Class |
|---|---|
| 0 | auto_rickshaw |
| 1 | bicycle |
| 2 | bus |
| 3 | car |
| 4 | motorcycle |
| 5 | pickup |
| 6 | scooter |
| 7 | truck |
| 8 | van |
| Metric | Value |
|---|---|
| Precision | 0.865 |
| Recall | 0.695 |
| mAP50 | 0.752 |
| mAP50-95 | 0.624 |
confusion_matrix.png and results.png in this repo for detailed training curves.pip install ultralytics1from ultralytics import YOLO
2
3# Load model directly from the Hub
4model = YOLO("https://huggingface.co/Madan11/two-wheeler-detector/resolve/main/best.pt")
5
6results = model.predict("path/to/image.jpg", conf=0.25, save=True)huggingface_hub:1from huggingface_hub import hf_hub_download
2from ultralytics import YOLO
3
4model_path = hf_hub_download(repo_id="Madan11/two-wheeler-detector", filename="best.pt")
5model = YOLO(model_path)
6results = model.predict("path/to/image.jpg", conf=0.25, save=True)