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
Download config.json from DataMinds/cnn_brain_tumor_classification: direct link, hf CLI and curl.
- Browser
- Download file 212 Bytes
-
https://huggingface.co/DataMinds/cnn_brain_tumor_classification/resolve/refs%2Fpr%2F1/config.json
- Command line
-
hf download hf://DataMinds/cnn_brain_tumor_classification@refs/pr/1/config.json
-
curl -L -o config.json https://huggingface.co/DataMinds/cnn_brain_tumor_classification/resolve/refs%2Fpr%2F1/config.json
212 Bytes
| { | |
| "_name_or_path": "cnn_brain_tumor_classification", | |
| "architectures": [ | |
| "CNNForBinaryClassification" | |
| ], | |
| "id2label": { | |
| "0": "No", | |
| "1": "Yes" | |
| }, | |
| "label2id": { | |
| "No": 0, | |
| "Yes": 1 | |
| } | |
| } |