Official Repository for the paper: "Unpaired Volumetric Harmonization of Brain MRI with Conditional Latent Diffusion"
Authors: Mengqi Wu, Minhui Yu, Shuaiming Jing, Pew-Thian Yap, Zhengwu Zhang, Mingxia Liu*
- Modify the
data/MRIdata.py
file to configure it with custom MRI datasets. - Run
python train_aekl.py
to train the 3D Autoencoder.
- Load the checkpoint from the previously trained 3D autoencoder in
train_HCLD.py
. - Run
python train_HCLD.py
to train the cLDM.
- Load the checkpoint from the previously trained 3D autoencoder in
infer_HCLD_DDIM.py
. - Load the checkpoint from the previously trained cLDM in
infer_HCLD_DDIM.py
. - Run
python infer_HCLD_DDIM.py
to perform model inference.
Our code was implemented using the MONAI framework