Git Product home page Git Product logo

psi-net's Introduction

Ψ-Net: Stacking Densely Convolutional LSTMs for Sub-Cortical Brain Structure Segmentation

by Lihao Liu, Xiaowei Hu, Lei Zhu, Chi-Wing Fu, Jing Qin and Pheng-Ann Heng.

Introduction

In this repository, we provide the Tensorflow and DLTK implementation for our TMI paper Ψ-Net: Stacking Densely Convolutional LSTMs for Sub-Cortical Brain Structure Segmentation.

Requirement

tensorflow-gpu 1.14.0
dltk 0.2.1
cuda 10.0
cudnn 7.5

Usage

  1. Clone the repository:

    git clone https://github.com/lihaoliu-cambridge/psi-net.git
    cd psi-net
  2. Download the IBSR dataset:

    IBSR_V2.0_nifti_stripped.tgz

  3. Unzip them in folder dataset/IBSR:

    dataset/IBSR/IBSR_nifti_stripped

  4. Pre-process the LPBA40 dataset:

    cd script
    python preprocessing_ibsr.py

    output results:

    dataset/IBSR_preprocessed/IBSR_nifti_stripped

  5. Train the model:

    cd ..
    python train_ibsr.py
  6. Test the saved model:

    python test_ibsr.py 

Note

  1. If you are using a virtual environment, please reload cuda and cudnn before running, so you can use gpu during training. You can also add the cuda and cudnn path to your system path:

    source ~/tensorflow-env/bin/activate
    module load cuda/10.0 cudnn/7.5_cuda-10.0
  2. Use pip to install Tensorflow and DLTK directly:

    pip install tensorflow-gpu==1.14.0
    pip install dltk
  3. In our TMI paper, we use Whiten normalization to standardize data distributions. To better standardize data distributions and facilitate training, we try another normalization approach Histogram Standardization. The results are shown in the below picture:

Citation

If you use our code for your research, please cite our paper:

@article{liu2020psi,
  title={$\psi$-Net: Stacking Densely Convolutional LSTMs for Sub-cortical Brain Structure Segmentation},
  author={Liu, Lihao and Hu, Xiaowei and Zhu, Lei and Fu, Chi-Wing and Qin, Jing and Heng, Pheng-Ann},
  journal={IEEE Transactions on Medical Imaging},
  year={2020},
  publisher={IEEE}
}

Question

Please open an issue or email [email protected] for any questions.

psi-net's People

Contributors

lihaoliu-cambridge 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.