Skip to content

Shayaan-Hussain/Brain-Tumor-Detection-Deep-Learning

Repository files navigation

Brain Tumor Detection using modified VGG-19 and InceptionResnetV2

IEEE Publication : https://ieeexplore.ieee.org/document/10295200

About the Project:

Two pre-trained models, namely VGG-19 and Inception-ResNet V2 were modified to classify a Brain MRI Image as Tumor or Non Tumor.

About the Dataset Used:

The following dataset was collected from Kaggle: Click Here
The dataset consists of 98 images of negative class and 155 images of positive class. These images were augmented using Keras Image Data Generator. The augmented data consists of 848 images of negative class and 883 images of positive class. These were further divided into training, testing and validation as 80%, 10% and 10% respectively.

Results Acheived:

Modified VGG-19 Model:

Accuracy achieved on Training Data : 99.71%
Accuracy achieved on Validation Data : 97.67%
Accuracy achieved on Testing Data : 94.86%

Modified Inception ResNet V2 Model:

Accuracy achieved on Training Data : 99.28%
Accuracy achieved on Validation Data : 94.86%
Accuracy achieved on Testing Data : 97.09%

To run this code:

The code was executed on jupyter notebook with python 3.9.13
To install all the dependancies, run the following shell command :

pip install -r requirements.txt

To run the code of data augmentation, execute the cells in data_augmentation.ipynb file.
To run the code to train the models, execute the cells in model_training.ipynb file.

Note:

Inception ResNet V2 Model could not be uploaded due to high filesize.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published