Views
No views yet
| ID | Name |
|---|---|
| 0 | Cargo Ship |
| 1 | Naval Vessel |
| 2 | Small Boat |
| 3 | Tanker |
| 4 | Unknown |
| 5 | Vessel |
| Metric | All | Small Boat |
|---|---|---|
| mAP50 | 0.875 | 0.910 |
| mAP50-95 | 0.452 | 0.409 |
| Precision | 0.831 | 0.930 |
| Recall | 0.764 | 0.814 |
DOD_CoastSurveillance.mp4.1from ultralytics import YOLO
2
3model = YOLO("best.pt")
4results = model.predict("frame.jpg", imgsz=1280, conf=0.35,
5 iou=0.45, agnostic_nms=True)1from sahi import AutoDetectionModel
2from sahi.predict import get_sliced_prediction
3
4model = AutoDetectionModel.from_pretrained(
5 model_type="yolov8",
6 model_path="best.pt",
7 confidence_threshold=0.30,
8 device="cuda:0",
9)
10result = get_sliced_prediction(
11 "frame.jpg", model,
12 slice_height=640, slice_width=640,
13 overlap_height_ratio=0.2, overlap_width_ratio=0.2,
14 perform_standard_pred=True,
15 postprocess_type="NMS",
16 postprocess_match_threshold=0.5,
17)Best_Maritime_Custom.pt (warm-started through run1 → run2 → run4)imgsz=1280; smaller sizes hurt small-vessel recall