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
|
@@ -40,6 +40,7 @@ This model is a fine-tuned version of **EfficientNetB0** trained to classify Bra
|
|
| 40 |
```bash
|
| 41 |
pip install tensorflow pillow requests numpy
|
| 42 |
```
|
|
|
|
| 43 |
🚀 2. โค้ดตัวอย่างการโหลดโมเดลและพยากรณ์รูปภาพ (Usage Example)
|
| 44 |
import numpy as np
|
| 45 |
import tensorflow as tf
|
|
@@ -85,7 +86,6 @@ def predict_mri(image_path):
|
|
| 85 |
# print(f"ผลการทำนาย: {class_label} ({conf:.2f}%)")
|
| 86 |
|
| 87 |
|
| 88 |
-
|
| 89 |
## ⚙️ Training Details & Hyperparameters
|
| 90 |
|
| 91 |
- **Optimizer:** Adam (Learning Rate = `1e-4`)
|
|
|
|
| 40 |
```bash
|
| 41 |
pip install tensorflow pillow requests numpy
|
| 42 |
```
|
| 43 |
+
```
|
| 44 |
🚀 2. โค้ดตัวอย่างการโหลดโมเดลและพยากรณ์รูปภาพ (Usage Example)
|
| 45 |
import numpy as np
|
| 46 |
import tensorflow as tf
|
|
|
|
| 86 |
# print(f"ผลการทำนาย: {class_label} ({conf:.2f}%)")
|
| 87 |
|
| 88 |
|
|
|
|
| 89 |
## ⚙️ Training Details & Hyperparameters
|
| 90 |
|
| 91 |
- **Optimizer:** Adam (Learning Rate = `1e-4`)
|