Giter Club home page Giter Club logo

3dunetcnn-1's Introduction

3D U-Net Convolution Neural Network with Keras

Background

Originally designed after this paper on volumetric segmentation with a 3D U-Net. The code was written to be trained using the BRATS data set for brain tumors, but it can be easily modified to be used in other 3D applications.

Installation

All required installations can be made using the provided Dockerfile as:

docker build . -t 3dunetcnn:latest

Thereafter, clone the project and cd into the project directory:

cd 3DunetCNN

The contructed docker image is entered using:

NV_GPU=0 nvidia-docker run --security-opt seccomp=unconfined --rm -u $(id -u):$(id -g) -v $(pwd):$(pwd) -w $(pwd) -ti 3dunetcnn:latest /bin/bash

where NV_GPU is used to select the GPU to train with. After entering the /bin/bash you need to add the working folder to pythonpath by:

export PYTHONPATH=${PWD}:$PYTHONPATH

Train the network using either train.py for the original 3D U-net and train_isensee2017.py for the improved version. These files are in the different folders for different data scenarios: brats, headneck and iseg. Instructions for downloading and preprocessing the data are provided in the corresponding folders. One example of initiating training on the brats data using the original 3D U-net can be seen below:

python brats/train.py

Without using docker, follow the tutorial for the Brats data for installation and testing

Tutorial using BRATS Data

See README in the brats folder

3dunetcnn-1's People

Contributors

erikaek avatar

Watchers

James Cloos 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.