Instructions to use emergentai/cancer-efficientnetb7-undersampling with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use emergentai/cancer-efficientnetb7-undersampling 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://emergentai/cancer-efficientnetb7-undersampling") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -103,7 +103,7 @@ model = keras.models.load_model(model_path)
|
|
| 103 |
* Epochs: 50 (initial), 20 (fine-tuning)
|
| 104 |
* EarlyStopping and ModelCheckpoint callbacks used.
|
| 105 |
|
| 106 |
-
### Data Splits
|
| 107 |
|
| 108 |
* **Training:** 128 images (70 Negative, 29 Positive Post-stained, 29 Positive Pre-stained)
|
| 109 |
* **Validation:** 37 images (20 Negative, 8 Positive Post-stained, 9 Positive Pre-stained)
|
|
|
|
| 103 |
* Epochs: 50 (initial), 20 (fine-tuning)
|
| 104 |
* EarlyStopping and ModelCheckpoint callbacks used.
|
| 105 |
|
| 106 |
+
### Data Splits (70:20:10)
|
| 107 |
|
| 108 |
* **Training:** 128 images (70 Negative, 29 Positive Post-stained, 29 Positive Pre-stained)
|
| 109 |
* **Validation:** 37 images (20 Negative, 8 Positive Post-stained, 9 Positive Pre-stained)
|