Brain MRI 5-Disease YOLO26s-Seg (educational / research prototype)
Not for clinical use. This model is an educational and research prototype. It is not a medical device and must not be used for diagnosis, screening, triage, or any treatment decision.
Model overview
- Architecture: YOLO26s-Seg (instance segmentation)
- File:
best.pt - Task: detect and segment lesions of five brain diseases on 2D MRI slices
- Not a general-purpose MRI model. It was trained on a different MRI sequence for each disease (see below), so it is not expected to work on arbitrary MRI sequences, planes, or scanners.
Classes
| ID | Class | Training MRI sequence |
|---|---|---|
| 0 | vestibular_schwannoma | T1 |
| 1 | glioma | T1CE |
| 2 | brain_metastasis | T1C |
| 3 | ischemic_stroke | DWI |
| 4 | multiple_sclerosis | FLAIR |
Each disease was learned from a single, different sequence. A prediction is only meaningful when the input slice comes from the sequence listed for that disease.
Input
- 8-bit PNG or JPEG, 2D slice, prepared to match the training preprocessing.
- DICOM / NIfTI / 3D volumes are not supported directly. This is not a DICOM-inference model; slices must be exported and preprocessed to 8-bit images beforehand.
Output
- Instance segmentation mask / polygon, bounding box, class, and a confidence score per detection.
- The confidence score is the detector's score for the detection. It is not a disease probability and must not be presented or interpreted as one.
Usage
from ultralytics import YOLO
model = YOLO("best.pt")
results = model.predict("slice.png", conf=0.25)
Performance summary
Per-class mask metrics of the final integrated best.pt, evaluated with Ultralytics model.val(split="val", imgsz=512) on the validation split. This is not a separately held-out test set, and the validation split may also have been used to select the checkpoint, so the numbers may be optimistic.
| Class | Precision | Recall | mAP50 | mAP50-95 | mAP75 |
|---|---|---|---|---|---|
| vestibular_schwannoma | 0.877 | 0.826 | 0.877 | 0.546 | 0.602 |
| glioma | 0.787 | 0.413 | 0.438 | 0.240 | 0.252 |
| brain_metastasis | 0.759 | 0.450 | 0.484 | 0.218 | 0.161 |
| ischemic_stroke | 0.618 | 0.466 | 0.488 | 0.202 | 0.139 |
| multiple_sclerosis | 0.518 | 0.392 | 0.409 | 0.130 | 0.062 |
| Simple mean over 5 classes | 0.712 | 0.510 | 0.539 | 0.267 | 0.243 |
These figures describe an educational/research prototype and do not establish diagnostic performance.
Known limitations
- Prototype for education and research; no clinical validation.
- Each disease is tied to one MRI sequence; other sequences, planes, scanners, or protocols are out of distribution.
- Only 2D 8-bit PNG/JPEG slices that match the training preprocessing are supported.
- Confidence scores are not calibrated probabilities.
- Only five diseases are covered; other findings, normal anatomy, and artifacts may be missed or mislabeled.
- Performance varies widely by disease (mask mAP50 from 0.877 for vestibular schwannoma to 0.409 for multiple sclerosis); recall is low for glioma, brain metastasis, ischemic stroke and multiple sclerosis, so lesions are frequently missed.
- Reported metrics come from the validation split, not an independent test set.
- Performance on data from other institutions has not been established.
Checksums (best.pt)
- Size: 92,393,497 bytes
- MD5:
5ab0561235ab4aeb27f11ce2a1afb4da - SHA256:
d35c2fcd360ae8e1ec17ee850f6da6ff2cc1becc040e14689b8a840f7fb9344c