rocky93/BraTS_segmentation
Updated • 15k
How to use shumailabatool/brain_tumor_detection with Keras:
# !pip install -U keras tensorflow huggingface_hub
# Keras needs TensorFlow installed to read "hf://" paths, so the tensorflow backend is selected here;
# "jax" and "torch" also work for computation once TensorFlow is installed.
import os
os.environ["KERAS_BACKEND"] = "tensorflow"
import keras
model = keras.saving.load_model("hf://shumailabatool/brain_tumor_detection")
This model is a fine-tuned version on the braTS20 dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|---|---|---|---|---|
| 0.3208 | 1 | 355 | 0.3162 | 0.9461 |
| 0.0392 | 2 | 268 | 0.1177 | 0.9893 |
| 0.0326 | 3 | 267 | 0.2596 | 0.9899 |
| 0.0351 | 4 | 267 | 0.3398 | 0.9888 |
| 0.0272 | 5 | 266 | 0.2636 | 0.9912 |