Instructions to use DataMinds/cnn_brain_tumor_classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- TF-Keras
How to use DataMinds/cnn_brain_tumor_classification with TF-Keras:
# Note: 'keras<3.x' or 'tf_keras' must be installed (legacy), and from_pretrained_keras was removed in huggingface_hub 1.0. # See https://github.com/keras-team/tf-keras for more details. # !pip install "huggingface_hub<1.0" tf_keras from huggingface_hub import from_pretrained_keras model = from_pretrained_keras("DataMinds/cnn_brain_tumor_classification") - Notebooks
- Google Colab
- Kaggle
Data Minds commited on
Commit ·
c1759bf
1
Parent(s): d70229d
Update config.json
Browse files- config.json +2 -2
config.json
CHANGED
|
@@ -4,8 +4,8 @@
|
|
| 4 |
"Yes": "LABEL_1",
|
| 5 |
},
|
| 6 |
"label2id": {
|
| 7 |
-
"LABEL_0":
|
| 8 |
-
"LABEL_1":
|
| 9 |
},
|
| 10 |
"layers": [{
|
| 11 |
"class_name": "InputLayer",
|
|
|
|
| 4 |
"Yes": "LABEL_1",
|
| 5 |
},
|
| 6 |
"label2id": {
|
| 7 |
+
"LABEL_0": 'No',
|
| 8 |
+
"LABEL_1": 'Yes',
|
| 9 |
},
|
| 10 |
"layers": [{
|
| 11 |
"class_name": "InputLayer",
|