xmed-lab / FSDiffReg

MICCAI 2023: FSDiffReg: Feature-wise and Score-wise Diffusion-guided Unsupervised Deformable Image Registration for Cardiac Images
28 stars 8 forks source link

FileNotFoundError: [Errno 2] No such file or directory: './FSDiffReg/data/database/train.json' #2

Open Barrett-python opened 1 year ago

Eason-Qin commented 3 months ago

Thank you for your attention in our work:) You can generate the json file via creating the following format:

[ { "image_ED": "/YOUR/PATH/patient091_frame01.nii.gz", "image_ES": "/YOUR/PATH/patient091_frame09.nii.gz", "label_ED": "/YOUR/PATH/patient091_frame01_gt.nii.gz", "label_ES": "/YOUR/PATH/patient091_frame09_gt.nii.gz" } ] The frame corresponding to ED/ES are described in the original dataset (.cfg file).