Giter Club home page Giter Club logo

3dseg's Introduction

3DSeg

Volumetric segmentation using a V-Net model

Getting Started

Prerequisites

We recommend on using the following docker image. Pull the following docker image using:

docker pull geromev/dsgzneuro:latest 

Alternatively, you can also:

pip install -r requirements.txt 

Dataset

All volumes should be in ./vols_all/.

Training

We use Segmentation3DTrainer object in trainer.py which performs data loading, data augmentation, and training. As an example usage to train a model you can do the following:

python trainer_example_usage.py --train_model=1

Training will ouptut the following:

  1. Save weights of the trained model at ./model/.
  2. Output tensorboard event logs at ./logs/.
  3. If debug_dump_image is set to True, will save augmented volumes at ./augmented_vols.

Testing

When training is finished, the trained model will be used to evaluate the test set.. You can evaluate the test set using the following:

python trainer_example_usage.py --train_model=0

Predicted segmentation outputs will be in ./pred_output/.

Contributing

License

This project is licensed under the MIT License - see the LICENSE.md file for details

3dseg's People

Contributors

grmvvr avatar pydsgz avatar

Watchers

 avatar  avatar  avatar

Forkers

nnu-gisa naomiyjl

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.