This project aims to detect brain tumors in MRI images using a Convolutional Neural Network (CNN) implemented in PyTorch.
The CNN model is trained on a dataset of MRI images to classify images as either containing a tumor or not. The model achieves an accuracy of over 90%.
- Implementation of a CNN model in PyTorch for brain tumor detection
- Training and evaluation of the model using MRI images
- Visualization of feature maps of convolutional filters
- Clone the repository:
git clone https://github.com/Firojpaudel/Brain_Tumor_Detection.git
- Also you'll need to install pytorch and would suggest to create an environment
- And Install the required packages:
pip install -r requirements.txt
inside that environmentI used conda
- Run
jupyter notebook
in the project directory - Open and run the
Brain_tumor_detection.ipynb
notebook - Follow the instructions in the notebook to train and test the CNN model
- Address overfitting concerns due to the complexity of the model and limited dataset size
- Explore techniques such as data augmentation, regularization, or using a simpler model architecture