Downloads · 30 days
34
23% of all-time downloads
tejassnaikk/rsdd-yolo11n-obb-v1
rsdd-yolo11n-obb-v1 is a object detection model from tejassnaikk. Use it when you need objects located in an image. It is set up for ultralytics. The card lists the license as agpl-3.0.
Rotated bounding-box ship detector trained on RSDD-SAR. Single class: ship. Part of the SAR Dark Ship Detection portfolio project.
Downloads · 30 days
34
23% of all-time downloads
All-time downloads
150
Public
Repo size
5.8 MB
Likes
0
Public
Click a slice to open those files.
.pt5.8 MB · 100%
From the Hugging Face model README
Rotated bounding-box ship detector trained on RSDD-SAR. Single class: ship. Part of the SAR Dark Ship Detection portfolio project.
ship)This model is intended for:
Dataset: RSDD-SAR (Radar Satellite Dataset for Ship Detection)
cx, cy, h, w, angle (radians, h ≥ w)Split used:
ImageSets/train.txt)ImageSets/test.txt — no separate val split in dataset; test used for both)Annotations were converted from VOC rotated-box XML to YOLOv11-OBB polygon format using
src/data/rsdd_to_yolo.py.
Long-edge enforcement was applied to all boxes before conversion.
| Hyperparameter | Value |
|---|---|
| Base model | yolo11n-obb.pt (pretrained) |
| Epochs | 100 (early-stopped at 75, patience 20) |
| Image size | 512 × 512 |
| Batch size | 16 |
| Optimizer | AdamW (Ultralytics default) |
| Hardware | Colab Pro T4 GPU |
| Training time | ~2 hours |
Evaluated with Ultralytics .val() at IoU threshold 0.5. [email protected]:0.95 is the COCO-style
area under the IoU-threshold curve from 0.5 to 0.95 in 0.05 steps.
| Split | [email protected] | [email protected]:0.95 | Precision | Recall | N images |
|---|---|---|---|---|---|
| Overall test | 0.938 | 0.640 | 0.933 | 0.871 | 2,000 |
| Inshore | 0.763 | 0.483 | 0.760 | 0.696 | 159 |
| Offshore | 0.971 | 0.673 | 0.954 | 0.931 | 1,841 |
Key finding: 21-point inshore/offshore gap ([email protected]: 0.763 vs 0.971). The model handles isolated ships in open water well but struggles in port and coastal environments due to clutter, infrastructure returns, and closely spaced vessels.
Maritime surveillance is inherently dual-use. This model was built for research; outputs should never be used without human review:
from huggingface_hub import hf_hub_download
from ultralytics import YOLO
# Downloads weights (~5.5 MB) and caches locally
weights = hf_hub_download(
repo_id="tejassnaikk/rsdd-yolo11n-obb-v1",
filename="best.pt",
)
model = YOLO(weights)
# Run on a SAR image (grayscale or 3-channel, 512×512 recommended)
results = model("path/to/sar_chip.jpg", imgsz=512, conf=0.25)
results[0].show() # display with rotated boxes
Output format: results[0].obb contains oriented bounding boxes as xywhr tensors
(center x, center y, width, height, rotation in radians).
@misc{sar-dark-ship-detection,
author = {Tejas Naik},
title = {SAR Dark Ship Detection},
year = {2025},
url = {https://github.com/tejassnaikk/sar-dark-ship-detection},
}
See the project repo for the full pipeline including annotation conversion, evaluation harness, and Sentinel-1 cross-domain work.