Git Product home page Git Product logo

ddm's Introduction

Diffusion Deformable Model (DDM)

The official source code of "diffusion deformable model (DDM)".

Implementation

A PyTorch implementation of deep-learning-based model.

  • Requirements
    • OS : Ubuntu / Windows
    • Python 3.6
    • PyTorch 1.4.0

Dataset

  • In our experiment, we used 4D cardiac MR scans provided by the Automated Cardiac Diagnosis Challenge (ACDC).
  • You can download the data at ACDC.
  • In our experiment, we resampled all MRI scans with a voxel spacing of 1.5 x 1.5 x 3.15 mm, and saved the data with .mat.
  • Examples of the data we used can be downloaded at here.
    • Copy downloaded directory of "ACDC_dataset" to './data'.
    • The data in the directory "data_ED_ES" have 3D MR scans at the end diastolic and at the end systolic phases, and their corresponding segmentation labels.
    • The data in the directory "data_ED2ES" have 4D MR scans from the end diastolic to the end systolic phases, which is used in the test stage.

Training

  • DDM_train.py is the implementation code for training the proposed diffusion deformable model.
  • You can run the code through "sh train.sh" in terminal.
  • All parameter settings we used are written in ./config/DDM_train.json file.

Evaluation

  • DDM_test.py is the implementation code of inference for 4D temporal image generation.
  • You can run the code by running "sh test.sh" in terminal.

ddm's People

Contributors

torchddm 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.