Aller au contenu
ModelPrésentéExterne
Télécharger

Scaplen Lab Drosophila Segmentation

Example output on a real frame: raw footage, then stage 1 whole-fly segmentation, then stage 2 body parts (blue = head, green = thorax, red = abdomen).

TypeOtherVersionRevision 8b5d5adBClasse

Source du modèle

Type
Other
Taille du fichier
51,9–52,1 MB
Version
vRevision 8b5d5ad
Mis à jour
10 oct. 2026
Téléchargements
40
Source
Hugging Face

Description de la source

Scaplen Lab Drosophila Segmentation

two-stage segmentation: raw footage, stage 1 whole-fly, stage 2 body parts

Example output on a real frame: raw footage, then stage 1 whole-fly segmentation, then stage 2 body parts (blue = head, green = thorax, red = abdomen).

Two YOLO26m instance-segmentation models for tracking Drosophila

Models

  • stage1_wholefly_seg.pt: whole-fly segmentation, one class (fly). Finds and segments every fly in the full frame.
  • stage2_bodyparts_seg.pt: body-part segmentation (head, thorax, abdomen), run on single-fly crops taken from stage 1.

Both are YOLO26m (medium). Validation mask mAP@50 is about 0.995 for each.

Usage

from ultralytics import YOLO
model = YOLO("stage1_wholefly_seg.pt")
results = model.predict("frame.png")

Full pipeline, training scripts, datasets, and analysis code are on GitHub: https://github.com/ciij05/scaplen-lab

Built by Christian Khoury, Scaplen Lab, 2026.

Sources

1 source
Hugging FacePrincipalVersion 8b5d5ade9031dfabf750a1a71b91ab7dd0e5be21
huggingface.co/christiankhoury05/scaplen-lab-drosophila-segmentation/tree/8b5d5ade9031dfabf750a1a71b91ab7dd0e5be21

Vérifié 10 oct.

Artefacts du modèle

2 artefacts

stage1_wholefly_seg.pt

pt · 52,1 MB · SHA-256 17f790b81706…0a71 · Hugging Face

Télécharger

stage2_bodyparts_seg.pt

pt · 51,9 MB · SHA-256 dd2432ab9e8e…e8b8 · Hugging Face

Télécharger

Extraits de sources

3 extraits

--- tags: - instance-segmentation - yolo - drosophila - object-detection - biology library_name: ultralytics --- # Scaplen Lab Drosophila Segmentation ![two-stage segmentation: raw footage, stage 1 whole-fly, stage 2 body parts](example_pipeline.png) Example output on a real frame: raw footage, then stage 1 whole-fly segmentation, then stage 2 body parts (blue = head, green = thorax, red = abdomen). Two YOLO26m instance-segmentation models for tracking Drosophila ## Models - `stage1_wholefly_seg.pt`: whole-fly segmentation, one class (fly). Finds and segments every fly in the full frame. - `stage2_bodyparts_seg.pt`: body-part segmentation (head, thorax, abdomen), run on single-fly crops taken from stage 1. Both are YOLO26m (medium). Validation mask mAP@50 is about 0.995 for each. ## Usage ```python from ultralytics import YOLO model = YOLO("stage1_wholefly_seg.pt") results = model.predict("frame.png") ``` Full pipeline, training scripts, datasets, and analysis code are on GitHub: https://github.com/ciij05/scaplen-lab Built by Christian Khoury, Scaplen Lab, 2026.

Source context: 40 downloads · 0 likes · Pipeline object-detection · Library ultralytics · Repo christiankhoury05/scaplen-lab-drosophila-segmentation

Source context: 103 downloads · 0 likes · Pipeline object-detection · Library ultralytics · Repo christiankhoury05/scaplen-lab-drosophila-segmentation