Object Detection
ultralytics
pose-estimation
sar
synthetic-aperture-radar
remote-sensing
earth-observation
vessel-detection
dark-vessel-detection
yolo
sentinel-1
Instructions to use opensar-insight/vessel-detection-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ultralytics
How to use opensar-insight/vessel-detection-model with ultralytics:
# Couldn't find a valid YOLO version tag. # Replace XX with the correct version. from ultralytics import YOLOvXX model = YOLOvXX.from_pretrained("opensar-insight/vessel-detection-model") source = 'http://images.cocodataset.org/val2017/000000039769.jpg' model.predict(source=source, save=True) - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,19 +1,70 @@
|
|
| 1 |
---
|
| 2 |
license: agpl-3.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
| 4 |
-
# 📋 Vessel Detection Model
|
| 5 |
|
| 6 |
-
|
| 7 |
|
| 8 |
-
|
| 9 |
-
* A lightweight YOLO26n-Pose model for faster deployment
|
| 10 |
|
| 11 |
-
|
|
|
|
|
|
|
| 12 |
|
| 13 |
-
##
|
| 14 |
-
The main models available are:
|
| 15 |
-
* Unrestricted teacher model: yolo26s-pose_opensar_true_vessel_filtered_dataset_640px_unrestricted.pt
|
| 16 |
-
* Lightweight student model: yolo26n-pose_feature_kd_from_s_640_300ep_feat4_lightweight.pt
|
| 17 |
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: agpl-3.0
|
| 3 |
+
tags:
|
| 4 |
+
- object-detection
|
| 5 |
+
- pose-estimation
|
| 6 |
+
- sar
|
| 7 |
+
- synthetic-aperture-radar
|
| 8 |
+
- remote-sensing
|
| 9 |
+
- earth-observation
|
| 10 |
+
- vessel-detection
|
| 11 |
+
- dark-vessel-detection
|
| 12 |
+
- yolo
|
| 13 |
+
- sentinel-1
|
| 14 |
+
library_name: ultralytics
|
| 15 |
+
pipeline_tag: object-detection
|
| 16 |
---
|
|
|
|
| 17 |
|
| 18 |
+
# Vessel Detection Model
|
| 19 |
|
| 20 |
+
Inference models for detecting vessels (including dark/non-cooperative vessels not broadcasting AIS) in Sentinel-1 SAR data, developed as part of the [OpenSAR Insight](https://huggingface.co/opensar-insight) project. See the [organization card](https://huggingface.co/opensar-insight) for full project background, funding, and consortium details.
|
|
|
|
| 21 |
|
| 22 |
+
- Codebase: https://github.com/ESA-PhiLab/OpenSARInsight
|
| 23 |
+
- Project website: https://opensarinsightweb.web.uah.es/
|
| 24 |
+
- Training dataset: [opensar-insight/vessel-detection-dataset](https://huggingface.co/opensar-insight/vessel-detection-dataset)
|
| 25 |
|
| 26 |
+
## Model description
|
|
|
|
|
|
|
|
|
|
| 27 |
|
| 28 |
+
This repository contains the inference models for vessel detection in range-compressed Sentinel-1 SAR data:
|
| 29 |
+
|
| 30 |
+
- Teacher model (unrestricted): `yolo26s-pose_opensar_true_vessel_filtered_dataset_640px_unrestricted.pt` — a YOLO26s-Pose model used as the main/teacher model.
|
| 31 |
+
- Student model (lightweight): `yolo26n-pose_feature_kd_from_s_640_300ep_feat4_lightweight.pt` — a YOLO26n-Pose model, distilled from the teacher via feature-based knowledge distillation, intended for faster/onboard deployment.
|
| 32 |
+
|
| 33 |
+
Both models were trained on the filtered, higher-quality subset of [opensar-insight/vessel-detection-dataset](https://huggingface.co/opensar-insight/vessel-detection-dataset). Vessels are detected as pose keypoints (bounding box plus orientation), supporting downstream estimation of heading in addition to location.
|
| 34 |
+
|
| 35 |
+
## Files
|
| 36 |
+
|
| 37 |
+
| File | Role |
|
| 38 |
+
|---|---|
|
| 39 |
+
| `yolo26s-pose_opensar_true_vessel_filtered_dataset_640px_unrestricted.pt` | Teacher model (YOLO26s-Pose, 640px) |
|
| 40 |
+
| `yolo26n-pose_feature_kd_from_s_640_300ep_feat4_lightweight.pt` | Distilled student model (YOLO26n-Pose, 640px, 300 epochs, feature KD) |
|
| 41 |
+
|
| 42 |
+
## Usage
|
| 43 |
+
|
| 44 |
+
These are Ultralytics YOLO-Pose checkpoints:
|
| 45 |
+
|
| 46 |
+
```python
|
| 47 |
+
from ultralytics import YOLO
|
| 48 |
+
|
| 49 |
+
model = YOLO("yolo26s-pose_opensar_true_vessel_filtered_dataset_640px_unrestricted.pt")
|
| 50 |
+
results = model.predict("path/to/sar_patch.png", imgsz=640)
|
| 51 |
+
```
|
| 52 |
+
|
| 53 |
+
For dataset generation, training, and the full processing pipeline (Level-0 to range-compressed to inference), see `backend/pipeline/dvd_use_case/` in the [OpenSARInsight GitHub repository](https://github.com/ESA-PhiLab/OpenSARInsight).
|
| 54 |
+
|
| 55 |
+
## License
|
| 56 |
+
|
| 57 |
+
These model weights are distributed under AGPL-3.0, since the vessel-detection pipeline (`backend/pipeline/dvd_use_case/`) depends on Ultralytics YOLO, which is itself AGPL-3.0 licensed. Other components of the OpenSAR Insight codebase (dataset generation, RFI pipeline, geocoding, SARFI) are MIT-licensed — see the [repository LICENSE](https://github.com/ESA-PhiLab/OpenSARInsight/blob/main/LICENSE) for the full breakdown.
|
| 58 |
+
|
| 59 |
+
## Citation
|
| 60 |
+
|
| 61 |
+
If you use this model, please cite the OpenSAR Insight project:
|
| 62 |
+
|
| 63 |
+
```bibtex
|
| 64 |
+
@misc{opensarinsight,
|
| 65 |
+
title = {OpenSAR Insight: ML-ready datasets and models for direct insight generation from raw SAR data},
|
| 66 |
+
author = {{Indra Space} and {INTA} and {Universidad de Alcal\'a de Henares}},
|
| 67 |
+
howpublished = {\url{https://github.com/ESA-PhiLab/OpenSARInsight}},
|
| 68 |
+
note = {Funded by ESA \(\Phi\)-lab}
|
| 69 |
+
}
|
| 70 |
+
```
|