This repository contains the source code associated with our paper titled "Conditional Score Based Diffusion Model for Cortical Thickness Trajectory Prediction" which has been accepted at MICCAI 2024.
Ensure all the necessary packages listed.
numpy matplotlib scikit-learn scikit-image click requests psutil tqdm imageio imageio-ffmpeg pyspng pillow
We evaluated our conditional score-based diffusion model using the Alzheimer’s Disease Prediction Of Longitudinal Evolution (TADPOLE) challenge cohort (https://tadpole.grand-challenge.org/).
Example of data format is located under "https://github.com/siyeopyoon/Conditional-Score-Based-Diffusion-Model-for-Cortical-Thickness-Trajectory-Prediction/tree/main/Example%20Data%20Foramt"
To conduct experiments, please build adn run docker image using the command below. Note that you should adjust the paths and hyperparameters according to your specific requirements:
- move to the location of source code (where dockerfile is located).
- Build docker image
sudo docker build -f ./dockerfile_train_residual -t model_train_residual ./
- Run docker image
sudo docker run --shm-size=8G --rm --gpus all -v /home/example/:/external/ model_train_residual
Note; here "/home/example/" is where source code and dockerfile are located in your GPU server.
- To perform experimentsn, please build adn run docker image using the command below.
sudo docker build -f ./dockerfile_generate_residual -t generate_residual ./
sudo docker run --shm-size=8G --rm --gpus all -v /home/example/:/external/ generate_residual
Pretrained model weights : https://drive.google.com/drive/folders/1MSyKmPCNtZ0z6cP2lIBEso0CdCXFVEF0?usp=sharing Please contact to author or leave the issue in github, if you have any question on model weights.