Instructions to use starpreeda/BrainTumorTest with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use starpreeda/BrainTumorTest with Keras:
# Available backend options are: "jax", "torch", "tensorflow". import os os.environ["KERAS_BACKEND"] = "jax" import keras model = keras.saving.load_model("hf://starpreeda/BrainTumorTest") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -71,18 +71,21 @@ x = Dropout(0.4)(x)
|
|
| 71 |
outputs = Dense(4, activation='softmax')(x)
|
| 72 |
|
| 73 |
model = Model(inputs=base_model.input, outputs=outputs)
|
| 74 |
-
|
| 75 |
# Load Weights
|
| 76 |
model.load_weights("efficientnetb0_finetuned_brain_mri.keras")
|
| 77 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 78 |
|
| 79 |
-
|
| 80 |
|
| 81 |
-
- **Source:** Brain Tumor MRI Dataset (Kaggle)
|
| 82 |
-
- **Data Distribution:**
|
| 83 |
-
- **Training Set:** MRI images augmented with rotation, shift, zoom, and horizontal flips.
|
| 84 |
-
- **Testing Set:** Independent brain MRI scans for evaluation.
|
| 85 |
-
- **Classes:** 4 categories (Glioma, Meningioma, No Tumor, Pituitary).
|
| 86 |
|
| 87 |
### Confusion Matrix & Training Performance
|
| 88 |

|
|
|
|
| 71 |
outputs = Dense(4, activation='softmax')(x)
|
| 72 |
|
| 73 |
model = Model(inputs=base_model.input, outputs=outputs)
|
|
|
|
| 74 |
# Load Weights
|
| 75 |
model.load_weights("efficientnetb0_finetuned_brain_mri.keras")
|
| 76 |
|
| 77 |
+
📊 Dataset & Training Data
|
| 78 |
+
|
| 79 |
+
Source: Brain Tumor MRI Dataset (Kaggle)
|
| 80 |
+
|
| 81 |
+
Data Distribution:
|
| 82 |
+
|
| 83 |
+
Training Set: MRI images augmented with rotation, shift, zoom, and horizontal flips.
|
| 84 |
+
|
| 85 |
+
Testing Set: Independent brain MRI scans for evaluation.
|
| 86 |
|
| 87 |
+
Classes: 4 categories (Glioma, Meningioma, No Tumor, Pituitary).
|
| 88 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 89 |
|
| 90 |
### Confusion Matrix & Training Performance
|
| 91 |

|