Giter VIP home page Giter VIP logo

braintumorsegmentation's Introduction

BrainTumorSegmentation

Spread sheet including Results and related works is available in here.

Dataset

Dataset is available in here.

  1. Training: 3D MRI images from 369 patients (Height=240, Width=240, Depth=155)
    • Images: 4 modalities
    • Masks: 4 classes(0, 1, 2, and 4)

training image

  1. Validation: 3D MRI images from 125 patients (Height=240, Width=240, Depth=155)
    • Images: 4 modalities

validation image

Preprocess and Augmentation

  1. Flip horizontal flip vertical flip

  2. Brightness brightness

  3. Rotation rotation

  4. Elastic elastic

  5. Shift shift

  6. Swirl swirl

Models

  1. UNet3D unet3d

  2. AttUnet3D attunet3d

  3. GAN (Vox2Vox) gan generator gan discriminator

  4. AttGAN

  5. UNet3D with Deformable Convolution

Metrics

  1. Dice Loss

  2. Generator Loss

  3. Discriminator Loss

Requirements

  • tensorflow
  • tensorflow-addons
  • tensorflow-cpu
  • numpy
  • matplotlib
  • elasticdeform
  • scikit-learn
  • scipy
  • nibabel
  • SimpleITK

Install the requirements using command below:

pip install -r requirements.txt 

Run

Use the following command to see the arguments needed for running:

python -m scripts.main -h

For running UNet3D model use this:

python -m scripts.main -bs 4 -ps 128 -a 5 -ne 1 -ef 0.25 -lr 1e-3 -b1 0.9 -ds 100 -np 2 -aug 1 -m unet

For running AttUnet3D model use this:

python -m scripts.main -bs 4 -ps 128 -a 5 -ne 1 -ef 0.25 -lr 1e-3 -b1 0.9 -ds 100 -np 2 -aug 1 -m att_unet

For running GAN model use this:

python -m scripts.main -bs 4 -ps 128 -a 5 -ne 1 -ef 0.25 -lr 1e-3 -b1 0.9 -ds 100 -np 2 -aug 1 -m gan

For running AttGAN model use this:

python -m scripts.main -bs 4 -ps 128 -a 5 -ne 1 -ef 0.25 -lr 1e-3 -b1 0.9 -ds 100 -np 2 -aug 1 -m att_gan

For running UNet3D_DCN model use this:

python -m scripts.main -bs 4 -ps 16 -a 5 -ne 1 -ef 0.25 -lr 1e-3 -b1 0.9 -ds 100 -np 1 -aug 1 -m unet_dc

For running AttUnet3DDCN model use this:

python -m scripts.main -bs 4 -ps 16 -a 5 -ne 5 -ef 0.25 -lr 1e-3 -b1 0.9 -np 1 -aug 1 -m att_unet_dc

For running AttGANDCN model use this:

python -m scripts.main -bs 1 -ps 16 -a 5 -ne 5 -ef 0.25 -lr 1e-3 -b1 0.9 -np 1 -aug 1 -m att_gan_dc

References

braintumorsegmentation's People

Contributors

mahsaama avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

abrahammulat

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.