This is the implementation code for "DAGAN: Deep De-Aliasing Generative Adversarial Networks for Fast Compressed Sensing MRI Reconstruction". Paper Link (appear soon)
The code was written by Simiao Yu and Hao Dong.
If you use this code for your research, please cite our paper.
If you have any questions, please contact Simiao Yu ([email protected]) or Guang Yang ([email protected]).
The original code is in python 3.5 under the following dependencies:
- tensorflow (v1.1.0)
- tensorlayer (v1.7.2)
- easydict (v1.6)
- nibabel (v2.1.0)
- scikit-image (v0.12.3)
Code tested in Ubuntu 16.04 with Nvidia GPU + CUDA CuDNN.
-
Prepare data
- Data used in this work are publicly available from the MICCAI 2013 grand challenge (link). We refer users to register with the grand challenge organisers to be able to download the data.
- Download training and test data respectively into data/MICCAI13_SegChallenge/Training_100 and data/MICCAI13_SegChallenge/Testing_100 (We randomly included 100 T1-weighted MRI datasets for training and 50 datasets for testing)
- run 'python data_loader.py'
- after running the code, training/validation/testing data should be saved to 'data/MICCAI13_SegChallenge/' in pickle format.
-
Download pretrained VGG16 model
- Download 'vgg16_weights.npz' from this link
- Save 'vgg16_weights.npz' into 'trained_model/VGG16'
-
Train model
- run 'CUDA_VISIBLE_DEVICES=0 python train.py --model MODEL --mask MASK --maskperc MASKPERC' where you should specify MODEL, MASK, MASKPERC respectively:
- MODEL: choose from 'unet' or 'unet_refine'
- MASK: choose from 'gaussian1d', 'gaussian2d', 'poisson2d'
- MASKPERC: choose from '10', '20', '30', '40', '50' (percentage of mask)
-
Test trained model
- (to be finished soon)
Please refer to the paper for detailed results.