Spaces:
Runtime error
Runtime error
A newer version of the Gradio SDK is available: 6.25.0
metadata
title: MRI_tumor_classification
app_file: app.py
sdk: gradio
sdk_version: 6.14.0
Mr.9xKlug
MRI Tumor Classification Model
This project uses a ResNet18 model to classify MRI images into four categories: No Tumor, Glioma, Meningioma, and Pituitary.
Live Demo
Try out the model with our interactive demo:
How to Use
- Click on the Live Demo above.
- Upload an MRI image or use one of the provided examples.
- The model will classify the image and provide probabilities for each tumor type.
Local Installation
If you want to run the model locally:
- Clone this repository
- Install dependencies:
conda env create -f environment.yml. - Run the Gradio interface:
python3 -u app.py
Model Details
- Architecture: torchvision.models.resnet18 was used and initialised with the weights and configuration of BehradG.
- Training Data: Two datasets available on kaggle where merged 1, 2.
- Performance: Model exceeds $97%$ accuracy.
Contact
Other authors contribution in form of dataset contribution and model pretraining is very much appreciated!