|
Download data/docs/DATA.md from introvoyz043/MedSegX-code: direct link, hf CLI and curl.
- Browser
- Download file 5.22 kB
-
https://huggingface.co/datasets/introvoyz043/MedSegX-code/resolve/main/data/docs/DATA.md
- Command line
-
hf download hf://datasets/introvoyz043/MedSegX-code/data/docs/DATA.md
-
curl -L -o DATA.md https://huggingface.co/datasets/introvoyz043/MedSegX-code/resolve/main/data/docs/DATA.md
5.22 kB
MedSegDB Data Structure
When using the data for pre-training and ID evaluation, please organize them in the following structure:
playground/
βββ MedSegDB/
βββ ID/
βββ dataset1/
β βββ modality_task1/
β β βββ npy_imgs/ # preprocessed images in .npy format
β β βββ npy_gts/ # corresponding ground truth labels
β βββ modality_task2/
β β βββ npy_imgs/
β β βββ npy_gts/
β βββ ... # other modality-task pairs
βββ dataset2/
β βββ modality_task1/
β β βββ sequence1/ # if multiple sequences exist
β β β βββ npy_imgs/
β β β βββ npy_gts/
β β βββ sequence2/
β β β βββ npy_imgs/
β β β βββ npy_gts/
β β βββ ... # other sequences if available
β βββ ... # other modality-task pairs
βββ ... # other datasets
For example,
playground/
βββ MedSegDB/
βββ ID/
βββ ACDC/
β βββ MRI_LeftVentricle/
β β βββ npy_imgs/
β β βββ npy_gts/
β βββ MRI_MitralValve/
β β βββ npy_imgs/
β β βββ npy_gts/
β βββ ... # other modality-task pairs
βββ BraTS2020/
β βββ MRI_BrainCoreTumor/
β β βββ FLAIR/
β β β βββ npy_imgs/
β β β βββ npy_gts/
β β βββ T1/
β β β βββ npy_imgs/
β β β βββ npy_gts/
β β βββ ... # other sequences
β βββ ... # other modality-task pairs
βββ ... # other datasets
When using the data for OOD (or real-world) evaluation, please organize them in the following structure:
playground/
βββ MedSegDB/
βββ OOD/
βββ cross_site/ # cross-site shift
β βββ modality_task1/
β β βββ dataset1/
β β β βββ finetune/ # fine-tune data
β β β β βββ npy_imgs/
β β β β βββ npy_gts/
β β β βββ inference/ # inference data
β β β βββ npy_imgs/
β β β βββ npy_gts/
β β βββ dataset2/
β β βββ ... # other datasets
β βββ modality_task2/
β β βββ dataset1/
β β β βββ sequence1/ # if multiple sequences exist
β β β β βββ finetune/
β β β β β βββ npy_imgs/
β β β β β βββ npy_gts/
β β β β βββ inference/
β β β β βββ npy_imgs/
β β β β βββ npy_gts/
β β β βββ sequence2/
β β β βββ ... # other sequences if available
β β βββ dataset2/
β β βββ ... # other datasets
β βββ ... # other modality-task pairs
βββ cross_task/ # cross-task shift
For example,
playground/
βββ MedSegDB/
βββ OOD/
βββ cross_site/
β βββ CT_Liver/
β β βββ SLIVER07/
β β β βββ finetune/
β β β β βββ npy_imgs/
β β β β βββ npy_gts/
β β β βββ inference/
β β β βββ npy_imgs/
β β β βββ npy_gts/
β β βββ ... # other datasets
β βββ MRI_Spleen/
β β βββ CHAOS/
β β β βββ T2W/
β β β β βββ finetune/
β β β β β βββ npy_imgs/
β β β β β βββ npy_gts/
β β β β βββ inference/
β β β β βββ npy_imgs/
β β β β βββ npy_gts/
β β β βββ ... # other sequences
β β βββ ... # other datasets
β βββ ... # other modality-task pairs
βββ cross_task/