Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
metrics:
|
| 3 |
+
- accuracy: 96
|
| 4 |
+
tags:
|
| 5 |
+
- medical
|
| 6 |
+
- brain-stroke
|
| 7 |
+
---
|
| 8 |
+
🧠 Brain Stroke Detector (ViT)
|
| 9 |
+
Model Description
|
| 10 |
+
|
| 11 |
+
This model is a Vision Transformer (ViT) fine-tuned on the Brain Stroke CT Image Dataset
|
| 12 |
+
.
|
| 13 |
+
It classifies brain CT scans into two categories:
|
| 14 |
+
|
| 15 |
+
Stroke
|
| 16 |
+
|
| 17 |
+
Normal
|
| 18 |
+
|
| 19 |
+
The model is designed for educational and research purposes, not for clinical or medical decision-making.
|
| 20 |
+
|
| 21 |
+
Intended Uses & Limitations
|
| 22 |
+
|
| 23 |
+
✅ Educational use
|
| 24 |
+
✅ Research in computer vision / healthcare AI
|
| 25 |
+
⚠️ Not for medical diagnosis or clinical decision-making
|
| 26 |
+
⚠️ Use with caution outside of research/educational settings
|
| 27 |
+
|
| 28 |
+
|
| 29 |
+
How to Use
|
| 30 |
+
from transformers import pipeline
|
| 31 |
+
|
| 32 |
+
pipe = pipeline("image-classification", model="SANDEEPNADESAN/stroke-detector-vit")
|
| 33 |
+
|
| 34 |
+
result = pipe("path_to_ct_image.jpg")
|
| 35 |
+
print(result)
|
| 36 |
+
|