ge-xing / Diff-UNet

Diff-UNet: A Diffusion Embedded Network for Volumetric Segmentation. (using diffusion for 3D medical image segmentation)
Apache License 2.0
141 stars 20 forks source link

BTCV train #28

Open smanman opened 7 months ago

smanman commented 7 months ago

Hello, how is the BTCV training set divided, and can you directly use the original dataset without data preprocessing? I use the list of BTCV training datasets below and get an error. btcv btcv错误

920232796 commented 7 months ago

all_images = sorted(glob.glob(f"{data_dir}imagesTr/.nii.gz")) all_labels = sorted(glob.glob(f"{data_dir}labelsTr/.nii.gz"))

Please modify the directory "img" to "imagesTr", "label" to "labelsTr"