Giter Site home page Giter Site logo

caiodsfelipe / brain-tumor-cnn Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 1.23 MB

This repository contains the code used in the research article titled "An Approach in Brain Tumor Classification: The Development of a New Convolutional Neural Network Model" This study presents a CNN model designed to identify and classify brain tumors from MRI. We used GRAD-CAM to validate our results.

Home Page: https://doi.org/10.5753/eniac.2023.233530

Python 51.90% Jupyter Notebook 48.10%
brain-tumor-classification computer-vision convolutional-neural-networks deep-learning

brain-tumor-cnn's Introduction

An Approach in Brain Tumor Classification: The Development of a New Convolutional Neural Network Model

This repository contains the code used in the research article titled "An Approach in Brain Tumor Classification: The Development of a New Convolutional Neural Network Model" This study presents a CNN model designed to identify and classify brain tumors from MRI. We used GRAD-CAM to validate our results. For more information, here is the article: https://doi.org/10.5753/eniac.2023.233530

Setup Instructions

  1. Clone the repository:

    git clone https://github.com/caiodsfelipe/brain-tumor-cnn.git
    cd brain_tumor_cnn
  2. Create a virtual environment:

    python -m venv venv
    source venv/bin/activate  # On Windows use `venv/Scripts/activate`
  3. Install the required dependencies:

    pip install -r requirements.txt
  4. Set up the environment (e.g., configure Kaggle API key):

    mkdir -p ~/.kaggle
    cp /path/to/your/kaggle.json ~/.kaggle/
    chmod 600 ~/.kaggle/kaggle.json
  5. Download and unzip the datasets (assuming the commands in the notebook):

    kaggle datasets download -d masoudnickparvar/brain-tumor-mri-dataset -p data/mri_dataset
    kaggle datasets download -d rahimanshu/figshare-brain-tumor-classification -p data/glioma_dataset
    kaggle datasets download -d sartajbhuvaji/brain-tumor-classification-mri -p data/validation_dataset
    unzip data/mri_dataset/brain-tumor-mri-dataset.zip -d data/mri_dataset
    unzip data/glioma_dataset/figshare-brain-tumor-classification.zip -d data/glioma_dataset
    unzip data/validation_dataset/brain-tumor-classification-mri.zip -d data/validation_dataset

Thats it, now you can use the notebooks/brain_tumor_cnn notebook to run the code!

brain-tumor-cnn's People

Contributors

caiodsfelipe avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.