|
|
--- |
|
|
metrics: |
|
|
- accuracy: 96 |
|
|
tags: |
|
|
- medical |
|
|
- brain-stroke |
|
|
--- |
|
|
🧠 Brain Stroke Detector (ViT) |
|
|
Model Description |
|
|
|
|
|
This model is a Vision Transformer (ViT) fine-tuned on the Brain Stroke CT Image Dataset |
|
|
. |
|
|
It classifies brain CT scans into two categories: |
|
|
|
|
|
Stroke |
|
|
|
|
|
Normal |
|
|
|
|
|
The model is designed for educational and research purposes, not for clinical or medical decision-making. |
|
|
|
|
|
Intended Uses & Limitations |
|
|
|
|
|
✅ Educational use |
|
|
|
|
|
✅ Research in computer vision / healthcare AI |
|
|
|
|
|
⚠️ Not for medical diagnosis or clinical decision-making |
|
|
|
|
|
⚠️ Use with caution outside of research/educational settings |
|
|
|
|
|
|
|
|
How to Use |
|
|
|
|
|
from transformers import pipeline |
|
|
|
|
|
pipe = pipeline("image-classification", model="SANDEEPNADESAN/stroke-detector-vit") |
|
|
|
|
|
result = pipe("path_to_ct_image.jpg") |
|
|
|
|
|
print(result) |
|
|
|
|
|
|