Instructions to use Alyanakhan/Brain-Tumor with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use Alyanakhan/Brain-Tumor 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://Alyanakhan/Brain-Tumor") - Notebooks
- Google Colab
- Kaggle
Brain Tumor Classification Model
A CNN model built with TensorFlow/Keras to classify brain tumors from MRI images.
How to use
import tensorflow as tf from huggingface_hub import snapshot_download
path = snapshot_download(repo_id="Alyanakhan/Brain-Tumor") model = tf.keras.models.load_model(path) prediction = model.predict(your_image)
- Downloads last month
- -