/ Модель

Характеристики

Лицензия
AGPL 3.0
Опубликована
29 сен 2026

sih26057-sonar-debris

Поиск объектовИзображение → bounding_boxes
51скачиваний за 30 дней0лайковвеса обновлены12 окт 2026

Описание модели

Составлено на русском по карточке модели и метаданным Hugging Face

YOLOv8s-seg для обнаружения и сегментации мусора и опасных объектов на статичных изображениях бокового гидролокатора.

Ganesh-0509 разработал модель SIH26057 Sonar Debris Intelligence на архитектуре YOLOv8s-seg для обнаружения и сегментации подводного мусора и опасных объектов на статичных изображениях бокового гидролокатора. Модель принимает RGB- или полутоновые сонарные изображения размером 640×640 пикселей и выдаёт ограничивающие рамки, полигональные маски и оценки уверенности для пяти классов объектов. Репозиторий содержит экспорт ONNX; модель создана для проекта Smart India Hackathon 2026 на 4 450 изображениях с разбиением валидации без пересечения кадров.

Модель предназначена для морских обследований, картирования затонувших объектов, контроля подводных трубопроводов и поиска отдельных типов мусора и угроз, включая неразорвавшиеся боеприпасы. По данным карточки, качество различается по классам: AP50 для труб составляет 0,978, для затонувших судов — 0,823, а для цилиндрических объектов — 0,728. Лицензия AGPL-3.0. ONNX-экспорт подходит для кроссплатформенного запуска, в том числе на периферийных устройствах.

Сценарии применения

  • поиск мусора на снимках бокового гидролокатора
  • обнаружение подводных трубопроводов и контроль их состояния
  • картирование затонувших судов и обломков
  • выявление цилиндрических объектов и возможных боеприпасов
  • поиск крабовых ловушек и подготовка геопривязанных отчётов для ГИС

Ограничения

Модель рассчитана на статичные изображения бокового гидролокатора и может хуже работать на иных типах сонаров или при смене оборудования и географии съёмки. В сложных донных условиях возможны ложные срабатывания; рыболовные сети, биологические объекты и мелкий мусор модель надёжно не распознаёт.

Публичные бенчмарки

Результаты из открытых лидербордов в сравнении с лидерами каталога

Публичных оценок пока нет

В подключённых источниках результатов этой модели не нашлось. Отсутствие оценки не значит, что модель хуже: её могли просто не проверять.

Источники: Hugging Face Leaderboards, Hugging Face Eval Results, Open LLM v2, MTEB, timm, Open ASR, EvalPlus, LLM Stats

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

🌊 SIH26057 Sonar Debris Intelligence - YOLOv8s-seg v4

AI-powered detection of underwater debris and hazards from side-scan sonar imagery. Trained on 4,450 images with leakage-free validation for Smart India Hackathon 2026.

🔴 Live Demo • 📖 Full Documentation • 🐳 Docker Setup


📊 Model Description

Architecture: YOLOv8s-seg (instance segmentation with polygon masks)
Input: 640×640 px (RGB or grayscale sonar images)
Output: Bounding boxes + polygon masks + confidence scores
Classes: 5 underwater object types

🎯 Performance (v4 Production Model)

ClassAP50PrecisionRecallNotes
Pipe0.9780.9460.914Subsea pipelines, conduits
Shipwreck0.8230.8240.832Vessel debris, hull sections
Cylinder0.7280.6660.684Unexploded ordnance, mines
Natural Object0.5390.4990.568Rocks, boulders, reef features
Fishing Gear0.3860.6700.248Derelict crab pots (not nets)
Overall0.6910.7210.649Survey-disjoint validation

Validation: 901 images, zero frame overlap, leakage-free group splits
Inference Speed: ~0.4s (640px image), ~4s (500×5000 strip) on CPU


🚀 Quick Start

Option 1: Ultralytics (Simplest)

from ultralytics import YOLO
from PIL import Image

# Load model from Hugging Face
model = YOLO("Ganesh-0509/sih26057-sonar-debris")

# Run inference
image = Image.open("sonar_scan.png")
results = model.predict(image, conf=0.5, imgsz=640)

# Extract detections
for result in results:
    boxes = result.boxes  # Bounding boxes
    masks = result.masks  # Segmentation masks
    for box in boxes:
        cls = int(box.cls)
        conf = float(box.conf)
        print(f"Class: {result.names[cls]}, Confidence: {conf:.2f}")

Option 2: Full System with Docker

# Clone repository with complete backend + frontend
git clone https://github.com/Ganesh-0509/SIH26057.git
cd SIH26057

# Start services (auto-downloads model)
docker-compose -f docker-compose.optimized.yml up --build

# Access dashboard
# Frontend: http://localhost:3000
# Backend API: http://localhost:8000/docs

Option 3: ONNX Export (Edge Deployment)

# Export to ONNX for Jetson, Raspberry Pi, or Coral Edge TPU
model = YOLO("Ganesh-0509/sih26057-sonar-debris")
model.export(format="onnx", imgsz=640, opset=12)
# Output: best.onnx (~22MB)

Performance:

  • Jetson Nano: ~1.2s per image (GPU)
  • Raspberry Pi 4: ~5s per image (CPU)
  • Coral Edge TPU: ~0.3s per image (quantized)

🎯 Intended Use

Primary Use Cases

✅ Marine Survey Operations (MoES/NIOT)

  • Automated debris detection in side-scan sonar surveys
  • Reduces operator review time by 80% (10,000+ frames → 2,000 flagged)
  • Georeferenced GeoJSON/PDF reports for GIS integration

✅ Navigation Safety (Indian Navy, Port Authorities)

  • Hazard detection for safe channel maintenance
  • Shipwreck mapping for navigation charts
  • Pipeline integrity monitoring (offshore energy)

✅ Marine Conservation (Ghost Fishing Gear)

  • Derelict crab pot identification
  • Marine debris mapping for cleanup operations
  • Blue Economy impact assessment

✅ Underwater Infrastructure

  • Pipeline inspection (ONGC, offshore wind farms)
  • Cable route surveys (telecom, power transmission)
  • Munitions detection (UXO clearance operations)

Out of Scope

❌ Real-time video streams (optimized for static images)
❌ Bathymetric sonar (designed for side-scan sonar only)
❌ Biological targets (fish, marine mammals - not trained on)
❌ Fishing nets (model trained on crab pots, not nets)


📚 Training Data

Datasets Used (All Public, CC-BY/CC-BY-SA Licenses)

DatasetImagesObjectsLicenseSource
SeabedObjects-KLSG1,874Shipwrecks, natural objectsCC-BY-4.0Germany
SubPipe842Subsea pipelinesCC-BY-4.0UK
Marine_PULSE515Munitions, cylindersPublic DomainU.S. Navy
GhostVision3,225Derelict crab potsCC-BY-SA-4.0Delaware Bay
China Offshore SSS-AI668Fishing gear, seabedCC-BY-4.0China
Total11,2235 classes-Multi-national

Splits:

  • Training: 4,450 images (survey-disjoint groups)
  • Validation: 901 images (zero frame overlap)
  • Test: 1,872 images (held out)

Augmentation: Geometric (flip, rotate, scale), intensity (brightness, contrast), limited to 2× per image to prevent synthetic overfitting

Leakage Audit: Full report


⚠️ Limitations & Biases

Known Weaknesses

Data Limitations:

  • ⚠️ No operational Indian sonar data - Trained on Mediterranean, North Sea, Delaware Bay
  • ⚠️ Domain shift expected on different sonar types (frequency, resolution differences)
  • ⚠️ Fishing gear = crab pots only (0.386 AP50) - NOT trained on actual fishing nets
  • ⚠️ Natural objects weak (0.539 AP50) - Rocky reefs hard to distinguish from debris

Performance Issues:

  • ⚠️ False positives: ~35% on complex seabeds (shadow physics helps reduce this)
  • ⚠️ Small objects: May miss debris < 0.5m diameter on consumer-grade sonar
  • ⚠️ Side-scan only: Not suitable for multibeam or bathymetric sonar

Bias Considerations:

  • Geographic bias: Training data from non-Indian waters
  • Equipment bias: Consumer + research-grade sonar (not military-grade)
  • Class imbalance: Natural objects 28% of data, fishing gear 22%

Mitigation Strategies

✅ Fine-tune on operational data (3-month NIOT pilot planned)
✅ Probability calibration reduces confidence overconfidence
✅ Physics verification (acoustic shadow metrics) reduces false positives
✅ Human-in-the-loop review for high-stakes decisions


🧪 Evaluation Methodology

Validation Protocol

Metrics: COCO mAP50 (IoU threshold 0.5), precision, recall, F1-score
Split Method: Survey-disjoint group splits (no frame overlap across splits)
Validation Set: 901 images from 5 source datasets
Comparison: v1 (4 classes): 0.733 mAP50 → v4 (5 classes): 0.691 mAP50

Why mAP decreased?

  • Added fishing_gear class (0.386 AP50 - very hard)
  • More rigorous leakage-free validation (v1 had frame overlaps)
  • Natural objects reclassified (rocks now separate from debris)

Full Results: GitHub ml/reports/

Test Suite

✅ 103 tests passing (100% success rate)

  • 22 backend API tests
  • 81 ML pipeline tests
  • 18 acoustic shadow physics tests
  • 15 probability calibration tests
  • 18 GLCM texture analysis tests

🏗️ System Features

Advanced Capabilities

  1. Instance Segmentation - Pixel-perfect polygon masks (not just boxes)
  2. Enhanced Acoustic Shadow Physics - 6-metric verification:
    • Shadow contrast ratio
    • Shadow length measurement (px → meters)
    • Target height estimation (slant-range geometry)
    • Beam collinearity score
    • Shadow confidence (0-1, physics-verified)
    • Beam angle calculation
  3. Probability Calibration - Isotonic regression + Platt scaling (74% ECE reduction)
  4. Geolocation - Pixel → WGS84 coordinate transforms with survey metadata
  5. Indian Operations Mode - Distance/transit time to 6 major ports

Full Documentation: docs/SHADOW_PHYSICS.md


📦 Model Files

Available Formats:

  • best.pt - PyTorch weights (45MB) - Full precision, all features
  • best.onnx - ONNX Runtime (22MB) - CPU/GPU inference, cross-platform
  • best-fp16.onnx - FP16 quantized (11MB) - Edge devices, slight accuracy loss
  • best-int8.tflite - TensorFlow Lite (6MB) - Mobile, ~3% mAP drop

Download:

# Using Hugging Face CLI
huggingface-cli download Ganesh-0509/sih26057-sonar-debris best.pt

# Using Python
from huggingface_hub import hf_hub_download
model_path = hf_hub_download(repo_id="Ganesh-0509/sih26057-sonar-debris", filename="best.pt")

🏆 Competition Context

Smart India Hackathon 2026
Problem Statement: PS26057 - Automated Detection of Underwater Debris from Sonar Images
Organized By: Ministry of Earth Sciences (MoES) / National Institute of Ocean Technology (NIOT)

Project Status:

  • ✅ All deliverables complete (technical, business, field work)
  • ✅ 103 tests passing (100% success rate)
  • ✅ Docker deployment verified
  • ✅ Live demo ready (deployment in progress)

GitHub Repository: Ganesh-0509/SIH26057


📞 Contact & Support

Lead Developer: Ganesh Kumar
Email: ganesh957kumar@gmail.com
GitHub: @Ganesh-0509

Technical Support:

Business Inquiries: ganesh957kumar@gmail.com


📜 Citation

If you use this model in research or commercial applications, please cite:

@software{sih26057_sonar_debris_2026,
  author       = {Kumar, Ganesh},
  title        = {SIH26057 Sonar Debris Intelligence System},
  year         = {2026},
  publisher    = {Hugging Face},
  url          = {https://huggingface.co/Ganesh-0509/sih26057-sonar-debris},
  version      = {v4-production},
  note         = {Smart India Hackathon 2026, Problem Statement 26057}
}

📄 License

AGPL-3.0 (required due to Ultralytics YOLOv8 dependency)

Dataset Licenses:

  • GhostVision: CC-BY-SA-4.0
  • SeabedObjects-KLSG: CC-BY-4.0
  • SubPipe: CC-BY-4.0
  • Marine_PULSE: Public domain (U.S. Navy)
  • China Offshore SSS-AI: CC-BY-4.0

Commercial Use: Contact for licensing options if AGPL-3.0 is incompatible with your use case.


🙏 Acknowledgments

Built with:

Developed for Smart India Hackathon 2026 with support from MoES/NIOT


🇮🇳 Made in India • 🌊 For Indian Ocean • 🌍 For the World

Last Updated: October 2026

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм

Нельзя запустить

Не удалось определить, чем загружать веса модели (нет library_name и architectures).

Ревизия весов
ead3182

0 моделей