hotosm/streetlevel-poles
Viewer โข Updated โข 3.5k โข 97 โข 1
How to use kshitijrajsharma/streetlevel-poles-yolo11n with ultralytics:
from ultralytics import YOLOvv11
model = YOLOvv11.from_pretrained("kshitijrajsharma/streetlevel-poles-yolo11n")
source = 'http://images.cocodataset.org/val2017/000000039769.jpg'
model.predict(source=source, save=True)YOLOv11n object detector for utility poles and towers in street-level imagery. Trained on the Street-level Poles & Towers dataset (curated by UC Berkeley, HOT-OSM YOLO experiments).
0: pole, 1: tower
| metric | value |
|---|---|
| mAP@50 | 0.332 |
| mAP@50-95 | 0.120 |
| precision | 0.455 |
| recall | 0.345 |
10 epochs, imgsz=640. This is a sanity-check baseline, not a tuned model.
Interactive Gradio demo: https://huggingface.co/spaces/kshitijrajsharma/streetlevel-poles-detector
from huggingface_hub import hf_hub_download
from ultralytics import YOLO
weights = hf_hub_download(
repo_id="kshitijrajsharma/streetlevel-poles-yolo11n",
filename="best.pt",
)
model = YOLO(weights)
results = model("street_image.jpg")
results[0].show()
best.pt โ trained weights (Ultralytics format, ~5 MB).results.png, confusion_matrix.png, pr_curve.png โ training diagnostics.metrics.json โ machine-readable metrics summary.CC-BY-SA-4.0.