Spaces:
Runtime error
Runtime error
Update README.md
Browse files
README.md
CHANGED
|
@@ -9,8 +9,6 @@ app_file: app.py
|
|
| 9 |
pinned: false
|
| 10 |
---
|
| 11 |
|
| 12 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
| 13 |
-
|
| 14 |
# Brain MRI Similarity Recommender
|
| 15 |
|
| 16 |
This application allows users to upload a brain MRI image and retrieve the top-3 most similar images from the dataset.
|
|
@@ -22,3 +20,13 @@ The system uses CLIP image embeddings and cosine similarity to find visually sim
|
|
| 22 |
2. Click Submit
|
| 23 |
3. View similar images and similarity scores
|
| 24 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
pinned: false
|
| 10 |
---
|
| 11 |
|
|
|
|
|
|
|
| 12 |
# Brain MRI Similarity Recommender
|
| 13 |
|
| 14 |
This application allows users to upload a brain MRI image and retrieve the top-3 most similar images from the dataset.
|
|
|
|
| 20 |
2. Click Submit
|
| 21 |
3. View similar images and similarity scores
|
| 22 |
|
| 23 |
+
## Dataset & Model
|
| 24 |
+
- **Dataset:** `AIOmarRehan/Brain_Tumor_MRI_Dataset` (7,023 brain MRI images; 4 labels: glioma, meningioma, pituitary, no tumor).
|
| 25 |
+
- **Embedding model:** `openai/clip-vit-base-patch32`.
|
| 26 |
+
|
| 27 |
+
## Method
|
| 28 |
+
For an uploaded MRI image, we compute a CLIP embedding and compare it to all dataset embeddings using **cosine similarity**.
|
| 29 |
+
The app returns the **top-3 most similar** images along with their labels and similarity scores.
|
| 30 |
+
|
| 31 |
+
## Disclaimer
|
| 32 |
+
For educational purposes only β not for medical diagnosis.
|