Downloads · 30 days
0
nmitaeroaiml/buoy-models
buoy-models is a machine learning model from nmitaeroaiml. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
A fine-tuned Segment Anything 2 (SAM2) and YOLOv8 aerial search and rescue platform for flood disaster response. It performs real-time aerial human segmentation, hybrid non-circular red buoy detection, human-buoy prox…
Downloads · 30 days
0
Access
Public
Updated Aug 11, 2026
Repo size
787 MB
Likes
0
Public
Click a slice to open those files.
.py153 MB · 99%
From the Hugging Face model README
A fine-tuned Segment Anything 2 (SAM2) and YOLOv8 aerial search and rescue platform for flood disaster response. It performs real-time aerial human segmentation, hybrid non-circular red buoy detection, human-buoy proximity status tracking, center target reticle positioning, and exports 3 separate mission coordinate breakdown tables for drone payload dropping.
best_model.pt, latest_model.pt).yolov8_human.pt: Fine-tuned aerial human detector for high-altitude drone imagery.yolov8_flood.pt: YOLOv8-OBB model for water surface area ROI filtering.yolov8_buoy.pt..
├── app.py # Streamlit Web App & Interactive Dashboard
├── inference.py # Headless CLI Inference & Evaluation Script
├── train_yolo.py # YOLOv8 Fine-Tuning Script
├── train_detector.py # MobileNet Faster R-CNN Detector Training
├── train.py # SAM2 Training Pipeline
├── coco_loader.py # COCO Annotations Dataset Loader
├── preprocess.py # SAM2 Data Preprocessing
├── requirements.txt # Python Dependencies
│
├── best_model.pt # Fine-tuned SAM2 Model Weights (Best)
├── latest_model.pt # Fine-tuned SAM2 Model Weights (Latest)
├── yolov8_human.pt # Fine-tuned YOLOv8 Human Detector
├── yolov8_flood.pt # Fine-tuned YOLOv8-OBB Flood Area Detector
├── sam2_hiera_tiny.pt # SAM2 Base Tiny Checkpoint
└── sam2_hiera_small.pt # SAM2 Base Small Checkpoint
git clone https://huggingface.co/YOUR_USERNAME/YOUR_REPO_NAME
cd YOUR_REPO_NAME
python -m venv .venv
# On Windows:
.venv\Scripts\activate
# On Linux/macOS:
source .venv/bin/activate
pip install -r requirements.txt
git clone https://github.com/facebookresearch/segment-anything-2.git sam2_repo
cd sam2_repo
pip install -e .
cd ..
streamlit run app.py
Developed for Search & Rescue flood disaster relief. Powered by PyTorch, Ultralytics YOLOv8, and Meta AI SAM2.