MEDHEB commited on
Commit
5528578
Β·
verified Β·
1 Parent(s): 6626502

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +588 -0
README.md ADDED
@@ -0,0 +1,588 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ license_name: mixed-source-licenses
4
+ license_link: LICENSE
5
+ language:
6
+ - en
7
+ pretty_name: MedHEB-Bench
8
+ size_categories:
9
+ - 100K<n<1M
10
+ tags:
11
+ - medical
12
+ - multimodal
13
+ - retrieval
14
+ - embedding
15
+ - benchmark
16
+ - 2D
17
+ - 3D
18
+ - radiology
19
+ - pathology
20
+ configs:
21
+ - config_name: 2D-test
22
+ data_files:
23
+ - split: test
24
+ path: "2D_Task/**/*.json"
25
+ - config_name: 2D-train
26
+ data_files:
27
+ - split: train
28
+ path: "Train_Data/2D_Task/**/*.jsonl"
29
+ - config_name: 3D-test
30
+ data_files:
31
+ - split: test
32
+ path: "3D_Task/**/*.json"
33
+ - config_name: 3D-train
34
+ data_files:
35
+ - split: train
36
+ path: "Train_Data/3D_Task/**/*.jsonl"
37
+ - config_name: Text-test
38
+ data_files:
39
+ - split: test
40
+ path: "Text_Task/**/*.json"
41
+ - config_name: Text-train
42
+ data_files:
43
+ - split: train
44
+ path: "Train_Data/Text_Task/**/*.jsonl"
45
+ ---
46
+
47
+ # MedHEB-Bench
48
+
49
+ This repository hosts the full **MedHEB-Bench** benchmark β€” a multimodal
50
+ medical embedding / retrieval benchmark spanning 2D imaging, 3D imaging,
51
+ and biomedical text. A small reviewer-facing sample (β‰ˆ 2.5 GB) is
52
+ available separately at
53
+ [MEDHEB/MedHEB-Bench_Sample](https://huggingface.co/datasets/MEDHEB/MedHEB-Bench_Sample).
54
+
55
+ ## Repository layout
56
+
57
+ ```
58
+ .
59
+ β”œβ”€β”€ 2D_Task/
60
+ β”œβ”€β”€ 2D_Images/
61
+ β”œβ”€β”€ 3D_Task/
62
+ β”œβ”€β”€ 3D_Images/
63
+ β”œβ”€β”€ Text_Task/
64
+ β”œβ”€β”€ Train_Data/
65
+ └── Preprocess/
66
+ ```
67
+
68
+
69
+ ### JSON record format
70
+
71
+ **Test JSON** (under `2D_Task/`, `3D_Task/`, `Text_Task/`):
72
+
73
+ ```json
74
+ {
75
+ "qry_inst": "Find the same category image with the provided image:",
76
+ "qry_text": "",
77
+ "qry_img_path": "6cd606dc52e9.png",
78
+ "tgt_text": ["", "", "", "", ""],
79
+ "tgt_img_path": [
80
+ "82bb8a01935f.png",
81
+ "87b671c6d4c5.png",
82
+ "..."
83
+ ]
84
+ }
85
+ ```
86
+
87
+ **Train JSONL** (under `Train_Data/`) β€” chat-style records with
88
+ `messages` / `images` / `positive_messages`:
89
+
90
+ ```json
91
+ {
92
+ "messages": [
93
+ {"role": "system", "content": "Represent the given image with the following question:"},
94
+ {"role": "user", "content": "<image>What is the diabetic retinopathy severity level observed in this retinal image?"}
95
+ ],
96
+ "images": ["./2D_Images/APTOS/train_images/0024cdab0c1e.png"],
97
+ "positive_messages": [[{"role": "user", "content": "Mild"}]]
98
+ }
99
+ ```
100
+
101
+ Image paths in test JSONs resolve relative to the matching sub-folder
102
+ under `2D_Images/` / `3D_Images/`. Train JSONL paths are relative to the
103
+ repository root.
104
+
105
+ ## Restricted datasets β€” image archives NOT redistributed
106
+
107
+ Image archives for the following datasets are **not redistributed** here
108
+ because their upstream license / data-use agreements restrict re-hosting.
109
+ A `LICENSE_NOTICE.md` placeholder remains in each folder pointing to the
110
+ official source. Task-definition JSONs are kept so the benchmark
111
+ structure is visible.
112
+
113
+ - `2D_Images/ChestImagrome/` β€” Chest-ImaGenome (PhysioNet)
114
+ - `2D_Images/chexpert_plus/` β€” CheXpert-Plus (Stanford AIMI)
115
+ - `2D_Images/MIMIC-CXR-Report/` β€” MIMIC-CXR (PhysioNet)
116
+ - `2D_Images/MIMIC-CXR-T/` β€” MIMIC-CXR-LT (PhysioNet)
117
+ - `2D_Images/MIMIC-CXR-VQA/` β€” MIMIC-CXR-VQA (PhysioNet)
118
+ - `2D_Images/VindrCXR/` β€” VinDr-CXR (PhysioNet)
119
+ - `2D_Images/VindrMammo/` β€” VinDr-Mammo (PhysioNet)
120
+ - `2D_Images/RadImageNet-VQA/` β€” RadImageNet-VQA (HuggingFace)
121
+ - `3D_Images/CT_RATE/` β€” CT-RATE (HuggingFace)
122
+ - `3D_Images/MRNet/` β€” MRNet (Stanford ML Group)
123
+
124
+ # Dataset Download
125
+
126
+ All test sets used in our benchmark can be downloaded through the links provided in the table. Please note that, for some datasets, we use redistributed versions rather than the original official download sources: Kvasir, LC25000, and MRNet are obtained from Kaggle, while PublicHealthQA, CirrMRI600, and VQA_RAD are obtained from Hugging Face.
127
+
128
+ | Dataset | Dim | Modality | Download |
129
+ | --- | --- | --- | --- |
130
+ | MIMIC-CXR-LT | 2D | Chest X-ray | [![PhysioNet](https://img.shields.io/badge/PhysioNet-0072BC)](https://physionet.org/content/mimic-cxr/2.1.0/) |
131
+ | ISIC-2019 | 2D | Skin disease image | [![ISIC](https://img.shields.io/badge/ISIC-00A1D6)](https://challenge.isic-archive.com/data/#2019) |
132
+ | Brain-Tumor-MRI | 2D | Brain MRI | [![Kaggle](https://img.shields.io/badge/Kaggle-20BEFF?logo=kaggle&logoColor=ffffff)](https://www.kaggle.com/datasets/masoudnickparvar/brain-tumor-mri-dataset) |
133
+ | PathMNIST | 2D | Colon Pathology | [![Zenodo](https://img.shields.io/badge/Zenodo-1682D4?logo=zenodo&logoColor=ffffff)](https://zenodo.org/records/10519652) |
134
+ | ChestMNIST(NIH-ChestXray14) | 2D | Chest X-ray | [![Zenodo](https://img.shields.io/badge/Zenodo-1682D4?logo=zenodo&logoColor=ffffff)](https://zenodo.org/records/10519652) |
135
+ | DermaMNIST(HAM10000) | 2D | Skin Disease image | [![Zenodo](https://img.shields.io/badge/Zenodo-1682D4?logo=zenodo&logoColor=ffffff)](https://zenodo.org/records/10519652) |
136
+ | OCTMNIST(OCT) | 2D | Optical Coherence Tomography | [![Zenodo](https://img.shields.io/badge/Zenodo-1682D4?logo=zenodo&logoColor=ffffff)](https://zenodo.org/records/10519652) |
137
+ | TissueMNIST(BBBC051) | 2D | Kidney Cortex Microscope | [![Zenodo](https://img.shields.io/badge/Zenodo-1682D4?logo=zenodo&logoColor=ffffff)](https://zenodo.org/records/10519652) |
138
+ | BloodMNIST | 2D | Blood Cell image | [![Zenodo](https://img.shields.io/badge/Zenodo-1682D4?logo=zenodo&logoColor=ffffff)](https://zenodo.org/records/10519652) |
139
+ | OrganAMNIST(LiTS) | 2D | Abdominal CT scans(arxial) | [![Zenodo](https://img.shields.io/badge/Zenodo-1682D4?logo=zenodo&logoColor=ffffff)](https://zenodo.org/records/10519652) |
140
+ | OrganCMNIST(LiTS) | 2D | Abdominal CT scans(Coronal) | [![Zenodo](https://img.shields.io/badge/Zenodo-1682D4?logo=zenodo&logoColor=ffffff)](https://zenodo.org/records/10519652) |
141
+ | OrganSMNIST(LiTS) | 2D | Abdominal CT scans(Sagittal) | [![Zenodo](https://img.shields.io/badge/Zenodo-1682D4?logo=zenodo&logoColor=ffffff)](https://zenodo.org/records/10519652) |
142
+ | Kvasir | 2D | Gastrointestinal (GI) tract | [![Simula](https://img.shields.io/badge/Simula-004B93)](https://datasets.simula.no/kvasir/) [![Kaggle](https://img.shields.io/badge/Kaggle-20BEFF?logo=kaggle&logoColor=ffffff)](https://www.kaggle.com/datasets/meetnagadia/kvasir-dataset?select=kvasir-dataset) |
143
+ | APTOS-2019 | 2D | Optical Coherence Tomography | [![Kaggle](https://img.shields.io/badge/Kaggle-20BEFF?logo=kaggle&logoColor=ffffff)](https://www.kaggle.com/competitions/aptos2019-blindness-detection/overview) |
144
+ | PanNuke | 2D | Pathdology | [![HuggingFace](https://img.shields.io/badge/HuggingFace-FFD21E?logo=huggingface&logoColor=000000)](https://huggingface.co/datasets/RationAI/PanNuke) |
145
+ | VinDr-CXR | 2D | Chest X-ray | [![PhysioNet](https://img.shields.io/badge/PhysioNet-0072BC)](https://physionet.org/content/vindr-cxr/1.0.0/) |
146
+ | VinDr-Mammo | 2D | Breast X-ray | [![PhysioNet](https://img.shields.io/badge/PhysioNet-0072BC)](https://physionet.org/content/vindr-mammo/1.0.0/) |
147
+ | Chest-imagenome | 2D | Chest X-ray | [![PhysioNet](https://img.shields.io/badge/PhysioNet-0072BC)](https://physionet.org/content/chest-imagenome/1.0.0/) |
148
+ | Kvasir-SEG | 2D | Gastrointestinal (GI) tract | [![Simula](https://img.shields.io/badge/Simula-004B93)](https://datasets.simula.no/kvasir-seg/) |
149
+ | USforKidneyMSBench(CT2USforKidneySeg) | 2D | Ultrasound | [![GitHub](https://img.shields.io/badge/GitHub-181717?logo=github&logoColor=ffffff)](https://github.com/zekikus/MedSegBench) |
150
+ | UltrasoundNerveMSBench | 2D | Ultrasound | [![GitHub](https://img.shields.io/badge/GitHub-181717?logo=github&logoColor=ffffff)](https://github.com/zekikus/MedSegBench) |
151
+ | UWSkinCancerMSBench | 2D | Skin Image | [![GitHub](https://img.shields.io/badge/GitHub-181717?logo=github&logoColor=ffffff)](https://github.com/zekikus/MedSegBench) |
152
+ | Isic2018MSBench(ISIC 2018 Challenge) | 2D | Skin Image | [![GitHub](https://img.shields.io/badge/GitHub-181717?logo=github&logoColor=ffffff)](https://github.com/zekikus/MedSegBench) |
153
+ | PolypGenMSBench | 2D | Gastrointestinal (GI) tract | [![GitHub](https://img.shields.io/badge/GitHub-181717?logo=github&logoColor=ffffff)](https://github.com/zekikus/MedSegBench) |
154
+ | MIMIC-CXR | 2D | Chest X-ray | [![PhysioNet](https://img.shields.io/badge/PhysioNet-0072BC)](https://physionet.org/content/mimic-cxr/2.1.0/) |
155
+ | USData | 2D | Ultrasound | [![GitHub](https://img.shields.io/badge/GitHub-181717?logo=github&logoColor=ffffff)](https://github.com/LijunRio/Ultrasound-Report-Generation) |
156
+ | Path-VQA | 2D | Pathdology | [![HuggingFace](https://img.shields.io/badge/HuggingFace-FFD21E?logo=huggingface&logoColor=000000)](https://huggingface.co/datasets/flaviagiammarino/path-vqa) |
157
+ | PMC-VQA | 2D | Multi_modalities | [![HuggingFace](https://img.shields.io/badge/HuggingFace-FFD21E?logo=huggingface&logoColor=000000)](https://huggingface.co/datasets/RadGenome/PMC-VQA) |
158
+ | ROCO-VQA | 2D | Multi_modalities | [![HuggingFace](https://img.shields.io/badge/HuggingFace-FFD21E?logo=huggingface&logoColor=000000)](https://huggingface.co/datasets/adishourya/ROCO-QA) |
159
+ | MedPIX-VQA | 2D | Multi_modalities | [![HuggingFace](https://img.shields.io/badge/HuggingFace-FFD21E?logo=huggingface&logoColor=000000)](https://huggingface.co/datasets/adishourya/MEDPIX-ClinQA) |
160
+ | RadImageNet-VQA | 2D | Multi_modalities | [![HuggingFace](https://img.shields.io/badge/HuggingFace-FFD21E?logo=huggingface&logoColor=000000)](https://huggingface.co/datasets/raidium/RadImageNet-VQA) |
161
+ | VQA_RAD | 2D | Multi_modalities | [![OSF](https://img.shields.io/badge/OSF-2CB9F1?logo=osf&logoColor=ffffff)](https://osf.io/89kps/overview) [![HuggingFace](https://img.shields.io/badge/HuggingFace-FFD21E?logo=huggingface&logoColor=000000)](https://huggingface.co/datasets/flaviagiammarino/vqa-rad)|
162
+ | MIMIC-CXR-VQA | 2D | Chest X-ray | [![PhysioNet](https://img.shields.io/badge/PhysioNet-0072BC)](https://physionet.org/content/medical-cxr-vqa-dataset/1.0.0/) |
163
+ | MedMCQA | Text | Biological text | [![Google_Drive](https://img.shields.io/badge/Google_Drive-4285F4?logo=googledrive&logoColor=ffffff)](https://drive.usercontent.google.com/download?id=15VkJdq5eyWIkfb_aoD3oS8i4tScbHYky&export=download&authuser=0) |
164
+ | PubMedQA | Text | Biological text | [![HuggingFace](https://img.shields.io/badge/HuggingFace-FFD21E?logo=huggingface&logoColor=000000)](https://huggingface.co/datasets/qiaojin/PubMedQA) |
165
+ | MedicalQARetrieval | Text | Biological text | [![HuggingFace](https://img.shields.io/badge/HuggingFace-FFD21E?logo=huggingface&logoColor=000000)](https://huggingface.co/datasets/mteb/medical_qa) |
166
+ | PublicHealthQA | Text | Biological text | [![Kaggle](https://img.shields.io/badge/Kaggle-20BEFF?logo=kaggle&logoColor=ffffff)](https://www.kaggle.com/datasets/xhlulu/covidqa) [![HuggingFace](https://img.shields.io/badge/HuggingFace-FFD21E?logo=huggingface&logoColor=000000)](https://huggingface.co/datasets/xhluca/publichealth-qa/discussions) |
167
+ | MMDental | 3D | Dental CBCT | [![Figshare](https://img.shields.io/badge/Figshare-556472?logo=figshare&logoColor=ffffff)](https://springernature.figshare.com/articles/dataset/MMDental_-_A_multimodal_dataset_of_tooth_CBCT_images_with_expert_medical_records/28505276?file=53187695) |
168
+ | CT-RATE | 3D | Chest CT | [![HuggingFace](https://img.shields.io/badge/HuggingFace-FFD21E?logo=huggingface&logoColor=000000)](https://huggingface.co/datasets/ibrahimhamamci/CT-RATE) |
169
+ | MRNet | 3D | Knee CT | [![Stanford_AIMI](https://img.shields.io/badge/Stanford_AIMI-8C1515)](https://aimi.stanford.edu/datasets/mrnet-knee-mris) [![Kaggle](https://img.shields.io/badge/Kaggle-20BEFF?logo=kaggle&logoColor=ffffff)](https://www.kaggle.com/datasets/cjinny/mrnet-v1)|
170
+ | CirrMRI600 | 3D | 3D liver MRI | [![OSF](https://img.shields.io/badge/OSF-2CB9F1?logo=osf&logoColor=ffffff)](https://osf.io/cuk24/overview) [![HuggingFace](https://img.shields.io/badge/HuggingFace-FFD21E?logo=huggingface&logoColor=000000)](https://huggingface.co/datasets/onkarsus13/AllMedicalCombine/tree/main)|
171
+ | OrganMNIST(LiTS) | 3D | Abdominal CT scans | [![Zenodo](https://img.shields.io/badge/Zenodo-1682D4?logo=zenodo&logoColor=ffffff)](https://zenodo.org/records/10519652) |
172
+ | NoduleMNIST | 3D | Chest CT | [![Zenodo](https://img.shields.io/badge/Zenodo-1682D4?logo=zenodo&logoColor=ffffff)](https://zenodo.org/records/10519652) |
173
+ | SynapseMNIST(MitoEM dataset) | 3D | Pathdology | [![Zenodo](https://img.shields.io/badge/Zenodo-1682D4?logo=zenodo&logoColor=ffffff)](https://zenodo.org/records/10519652) |
174
+ | RadGenomme-Chest-CT | 3D | Chest CT | [![HuggingFace](https://img.shields.io/badge/HuggingFace-FFD21E?logo=huggingface&logoColor=000000)](https://huggingface.co/datasets/RadGenome/RadGenome-ChestCT) |
175
+ | M3D | 3D | Multi_modalities | [![ModelScope](https://img.shields.io/badge/ModelScope-624AFF)](https://www.modelscope.cn/datasets/GoodBaiBai88/M3D-Cap/tree/master/M3D_Cap/ct_case) |
176
+ | BraTS-PED | 3D | Brain MRI | [![Synapse](https://img.shields.io/badge/Synapse-2176C7)](https://www.synapse.org/Synapse:syn51514108) |
177
+ | SynthRAD2023 | 3D | Brain and Pelvis MRI,CT | [![Zenodo](https://img.shields.io/badge/Zenodo-1682D4?logo=zenodo&logoColor=ffffff)](https://zenodo.org/records/7260705) |
178
+ | HaN-Seg | 3D | Head and Neck MRI,CT | [![Zenodo](https://img.shields.io/badge/Zenodo-1682D4?logo=zenodo&logoColor=ffffff)](https://zenodo.org/records/7442914) |
179
+ | Chexpert_plus | 2D | Chest X-ray | [![Stanford_AIMI](https://img.shields.io/badge/Stanford_AIMI-8C1515)](https://stanfordaimi.azurewebsites.net/datasets/5158c524-d3ab-4e02-96e9-6ee9efc110a1) |
180
+ | Retinal Disease Classification | 2D | Optical Coherence Tomography | [![Kaggle](https://img.shields.io/badge/Kaggle-20BEFF?logo=kaggle&logoColor=ffffff)](https://www.kaggle.com/datasets/andrewmvd/retinal-disease-classification) |
181
+ | LC25000 | 2D | Pathlogy | [![AcademicTorrents](https://img.shields.io/badge/AcademicTorrents-008080)](https://academictorrents.com/details/7a638ed187a6180fd6e464b3666a6ea0499af4af) [![Kaggle](https://img.shields.io/badge/Kaggle-20BEFF?logo=kaggle&logoColor=ffffff)](https://www.kaggle.com/datasets/javaidahmadwani/lc25000) |
182
+ | OmniMedVQA | 2D | Multi_modalities | [![HuggingFace](https://img.shields.io/badge/HuggingFace-FFD21E?logo=huggingface&logoColor=000000)](https://huggingface.co/datasets/foreverbeliever/OmniMedVQA) |
183
+ | BraTS-MEN | 3D | Brain MRI | [![Synapse](https://img.shields.io/badge/Synapse-2176C7)](https://www.synapse.org/Synapse:syn51514106) |
184
+
185
+ # Dataset Preprocess
186
+
187
+ The following datasets are supported and should be processed using the provided scripts in [`Preprocess/`](Preprocess):
188
+
189
+ - BraTS-MEN
190
+ - BraTS-PED
191
+ - CT-RATE
192
+ - ChirrMRI600
193
+ - HaN-Seg
194
+ - MedMNIST
195
+ - MRNet
196
+ - MMDental
197
+ - RadGenomme-Chest-CT
198
+ - SynthRAD
199
+ - PanNuke
200
+ - PublicHealthQA
201
+ - ROCO-QA
202
+ - ChestImagenome
203
+ - Gastrointestinal
204
+ - Skin-Image
205
+ - Ultrasound
206
+ - VinDr-CXR
207
+ - VinDr-Mammo
208
+
209
+ ## 3D_Task
210
+
211
+ **1. BraTS-MEN**
212
+ - a. [Preprocess/3D_Task/BraTS-MEN/cut_slides.py](Preprocess/3D_Task/BraTS-MEN/cut_slides.py)
213
+
214
+ **Description**: `cut_slides.py` β€” This script converts the original `t1n.nii.gz` files from each BraTS-MEN case into 2D T1-weighted MRI slices. We follow the test split defined by the impression-text annotations in [RadGenome-Brain_MRI](https://huggingface.co/datasets/JiayuLei/RadGenome-Brain_MRI). `INPUT_ROOT` should be set to `./BraTS-MEN-Train`.
215
+
216
+ **2. BraTS-PED**
217
+ - a. [Preprocess/3D_Task/BraTS-PED/cut_slides.py](Preprocess/3D_Task/BraTS-PED/cut_slides.py)
218
+
219
+ **Description**: `cut_slides.py` β€” This script converts the original `t1n.nii.gz` and `t2w.nii.gz` files from each BraTS-PED case into 2D T1-weighted and T2-weighted MRI slices. `INPUT_ROOT` should be set to `./BraTS2023-PED`.
220
+
221
+ **3. CT-RATE**
222
+ - a. [Preprocess/3D_Task/CT-RATE/cut_slides.py](Preprocess/3D_Task/CT-RATE/cut_slides.py)
223
+ - b. [Preprocess/3D_Task/CT-RATE/CT2Xray.py](Preprocess/3D_Task/CT-RATE/CT2Xray.py)
224
+
225
+ **Description**: `cut_slides.py` β€” This script converts the original 3D CT volumes from each case into 2D CT slices. `CT2Xray.py` β€” This script converts the original 3D CT volumes into 2D chest X-ray projection images. `INPUT_ROOT` should be set to `./CT_DATA/data_volumes/dataset`.
226
+
227
+ **4. ChirrMRI600**
228
+ - a. [Preprocess/3D_Task/ChirrMRI600/cut_slides_split.py](Preprocess/3D_Task/ChirrMRI600/cut_slides_split.py)
229
+
230
+ **Description**: ChirrMRI600 contains liver MRI cases with different cirrhosis grades and healthy controls. We label healthy cases as 'No liver cirrhosis'. `Cirrhosis_T1_slide_folders.csv` and `Cirrhosis_T2_slide_folders.csv` define the split after adding the healthy cases. `cut_slides_split.py` converts 3D liver MRI volumes into 2D slices and organizes them according to the CSV split. Place the two CSV files in the original data folder and set this folder as the input path.
231
+
232
+ **5. HaN-Seg**
233
+ - a. [Preprocess/3D_Task/HaN-Seg/cut_slides.py](Preprocess/3D_Task/HaN-Seg/cut_slides.py)
234
+
235
+ **Description**: `cut_slides.py` β€” This script converts the original 3D CT volumes and MRI volumes into 2D slices, the input root shoud be set to `./HaN-Seg/set_1`.
236
+
237
+ **6. MNIST**
238
+ - a. [Preprocess/3D_Task/MNIST/unzip_cut_slides.py](Preprocess/3D_Task/MNIST/unzip_cut_slides.py)
239
+
240
+ **Description**: `unzip_cut_slides.py` β€” This script extracts the downloaded Zenodo `.npz` files and converts the original 3D `.npy` files into 2D slices. It supports preprocessing for all 3D MedMNIST classification datasets. The input root set to the download `npz` files.
241
+
242
+ **7. MRNet**
243
+ - a. [Preprocess/3D_Task/MRNet/cut_slides.py](Preprocess/3D_Task/MRNet/cut_slides.py)
244
+
245
+ **Description**: `cut_slides.py` β€” This script converts each 3D knee MRI volume into 2D slices from the `axial`, `coronal`, and `sagittal` views, with 10 slices extracted for each view. We map MRNet labels as follows: `abnormal = 0` is labeled as `healthy`, while cases with `abnormal = 1`, `acl = 0`, and `meniscus = 0` are labeled as `other diseases`.
246
+
247
+ **8. MMDental**
248
+ - a. [Preprocess/3D_Task/MMDental/cut_slides.py](Preprocess/3D_Task/MMDental/cut_slides.py)
249
+
250
+ **Description**: `cut_slides.py` β€” This script converts the original 3D CBCT volumes from each case into 2D slices from the `axial`, `coronal`, and `sagittal` views, with 20 slices extracted for each view. The input root should be set to `./MMDental`.
251
+
252
+ **9. RadGenomme-Chest-CT**
253
+ - a. [Preprocess/3D_Task/RadGenomme-Chest-CT/cut_slides.py](Preprocess/3D_Task/RadGenomme-Chest-CT/cut_slides.py)
254
+
255
+ **Description**: `cut_slides.py` β€” This script converts the original 3D CT volumes from each case into 2D CT slices. The input root should be set to `./RadGenomme-Chest-CT/dataset`.
256
+
257
+ **10. SynthRAD**
258
+ - a. [Preprocess/3D_Task/SynthRAD/cut_slides.py](Preprocess/3D_Task/SynthRAD/cut_slides.py)
259
+
260
+ **Description**: `cut_slides.py` β€” This script converts the `ct.nii.gz` and `mr.nii.gz` files from each SynthRAD2023 Task 1 brain and pelvis case into 2D slices. For brain and pelvis data, set the input roots to `./SynthRAD2023/Task1/brain` and `./SynthRAD2023/Task1/pelvis`, respectively.
261
+
262
+ ## Image_Classification
263
+
264
+ **1. MNIST**
265
+ - a. [Preprocess/2D_Task/MNIST/unzip_MNIST.py](Preprocess/2D_Task/MNIST/unzip_MNIST.py)
266
+
267
+ **Description**: `unzip_MNIST.py` β€” This script processes all 2D MedMNIST classification datasets. It extracts the downloaded Zenodo `.npz` files, organizes images according to the official train/validation/test split, and further separates them into class-specific folders. The input root should be set to the path of the downloaded `.npz` files.
268
+
269
+ **2. PanNuke**
270
+ - a. [Preprocess/2D_Task/PanNuke/Preprocess.py](Preprocess/2D_Task/PanNuke/Preprocess.py)
271
+
272
+ **Description**: `Preprocess.py` β€” This script merges images from the three `.parquet` files and organizes them into class-specific folders. `PanNuke_split.csv` defines the dataset split and should be placed in the downloaded data folder. The input root should be set to the directory containing the three `.parquet` files.
273
+
274
+ ## VQA
275
+
276
+ **1. ROCO_QA**
277
+ - a. [Preprocess/2D_Task/ROCO_QA/unzip.py](Preprocess/2D_Task/ROCO_QA/unzip.py)
278
+
279
+ **Description**: `unzip.py` β€” This script extracts the five `.parquet` files. The input root should be set to `./ROCO-QA/data`, and `FILE_ORDER` should match the order specified in the script.
280
+
281
+ ## Vision_Grounding
282
+
283
+ **1. ChestImagenome**
284
+ - a. [Preprocess/2D_Task/ChestImagenome/Preprocess.py](Preprocess/2D_Task/ChestImagenome/Preprocess.py)
285
+
286
+ **Description**: `Preprocess.py` β€” This script crops the original images according to the official bounding-box annotations. `gold_crop` is used as the benchmark test set, while `silver_sample_crop` is used as the training set. The input root should be set to `./Chest_imagenome`.
287
+
288
+ **2. Gastrointestinal**
289
+ - a. [Preprocess/2D_Task/Gastrointestinal/Preprocess.py](Preprocess/2D_Task/Gastrointestinal/Preprocess.py)
290
+
291
+ **Description**: `Preprocess.py` β€” This script converts segmentation masks from `PolypGenMSBench` and `Kvasir-SEG` into bounding boxes and cropped images. The split for `Kvasir-SEG` is defined in `split.csv`, which should be placed in the data folder. `PolypGenMSBench` is automatically downloaded and processed. For `Kvasir-SEG`, set the image root to `./Kvasir-SEG/images` and the annotation file to `./Kvasir-SEG/kvasir_bboxes.json`.
292
+
293
+ **3. PanNuke**
294
+ - a. [Preprocess/2D_Task/PanNuke_VG/Preprocess.py](Preprocess/2D_Task/PanNuke_VG/Preprocess.py)
295
+
296
+ **Description**: `Preprocess.py` β€” This script merges images from the three `.parquet` files and converts segmentation masks into bounding-box crops. The input root should be set to `./PanNuke/data`.
297
+
298
+ **4. Skin_Image**
299
+ - a. [Preprocess/2D_Task/Skin_Image/Preprocess.py](Preprocess/2D_Task/Skin_Image/Preprocess.py)
300
+
301
+ **Description**: `Preprocess.py` β€” This script converts segmentation masks from `ISIC2018MSBench` and `UWSkinCancerMSBench` into bounding boxes and cropped images. Both datasets are automatically downloaded and processed.
302
+
303
+ **5. Ultrasound**
304
+ - a. [Preprocess/2D_Task/Ultrasound/Preprocess.py](Preprocess/2D_Task/Ultrasound/Preprocess.py)
305
+
306
+ **Description**: `Preprocess.py` β€” This script converts segmentation masks from `USforKidneyMSBench` and `UltrasoundNerveMSBench` into bounding boxes and cropped images. Both datasets are automatically downloaded and processed.
307
+
308
+ **6. VindrCXR**
309
+ - a. [Preprocess/2D_Task/VindrCXR/Preprocess.py](Preprocess/2D_Task/VindrCXR/Preprocess.py)
310
+
311
+ **Description**: `Preprocess.py` β€” This script crops the images and follows the official dataset split. The input root should be set to `./VinDr-CXR`.
312
+
313
+ **7. VindrMammo**
314
+ - a. [Preprocess/2D_Task/VindrMammo/Preprocess.py](Preprocess/2D_Task/VindrMammo/Preprocess.py)
315
+
316
+ **Description**: `Preprocess.py` β€” This script crops the images and follows the official dataset split. The input root should be set to `./VindrMammo`.
317
+
318
+ ## Dataset Arrangement
319
+
320
+ After downloading and preprocessing the datasets, please organize the data according to the folder structure below so that it is compatible with the evaluation code.
321
+
322
+ ### MIMIC-CXR Data Setup
323
+
324
+ For the MIMIC-CXR-based datasets, you only need to download the original MIMIC-CXR image files once. The same downloaded files can then be reused across multiple sub-datasets by creating symbolic links.
325
+
326
+ The related datasets include:
327
+
328
+ - `MIMIC-CXR-Report`
329
+ - `MIMIC-CXR-T`
330
+ - `MIMIC-CXR-VQA`
331
+ - `ChestImagrome`
332
+
333
+ After downloading MIMIC-CXR, you can do:
334
+
335
+ ```
336
+ cd 2D_Images/(ChestImagrome, MIMIC-CXR-Report, MIMIC-CXR-VQA, MIMIC-CXR-T)
337
+ ln -sfn "../mimic_original/2.0.0/files" "files"
338
+
339
+ for d in p10 p11 p12 p13 p14 p15 p16 p17 p18 p19; do
340
+ ln -sfn "../mimic_original/2.0.0/files/$d" "$d"
341
+ done
342
+ ```
343
+
344
+ Organize your data under a single root directory (`DATA_BASEDIR`):
345
+
346
+ ```
347
+ DATA_BASEDIR/
348
+ β”‚
349
+ β”œβ”€β”€ 2D_Task/
350
+ β”‚ β”œβ”€β”€ APTOS/
351
+ β”‚ β”‚ β”œβ”€β”€ APTOS_test.json
352
+ β”‚ β”‚ β”œβ”€β”€ APTOS_i2i_test.json
353
+ β”‚ β”‚ └── APTOS_t2i_test.json
354
+ β”‚ β”œβ”€β”€ BloodMNIST/
355
+ β”‚ β”‚ β”œβ”€β”€ BloodMNIST_test.json
356
+ β”‚ β”‚ β”œβ”€β”€ BloodMNIST_i2i_test.json
357
+ β”‚ β”‚ └── BloodMNIST_t2i_test.json
358
+ β”‚ β”œβ”€β”€ Brain-Tumor-MRI/
359
+ β”‚ β”‚ β”œβ”€β”€ Brain_Tumor_MRI_test.json
360
+ β”‚ β”‚ β”œβ”€β”€ Brain_Tumor_MRI_i2i_test.json
361
+ β”‚ β”‚ └── Brain_Tumor_MRI_t2i_test.json
362
+ β”‚ β”œβ”€β”€ ChestImagrome/
363
+ β”‚ β”‚ └── Chest_imagenome_test.json
364
+ β”‚ β”œβ”€β”€ ChestMNIST/
365
+ β”‚ β”‚ β”œβ”€β”€ ChestMNIST_test.json
366
+ β”‚ β”‚ β”œβ”€β”€ ChestMNIST_i2i_test.json
367
+ β”‚ β”‚ └── ChestMNIST_t2i_test.json
368
+ β”‚ β”œβ”€β”€ ChexpertPlus/
369
+ β”‚ β”‚ β”œβ”€β”€ chexpert_plus_cls_new.json
370
+ β”‚ β”‚ β”œβ”€β”€ chexpert_plus_i2t_new.json
371
+ β”‚ β”‚ └── chexpert_plus_t2i_new.json
372
+ β”‚ β”œβ”€β”€ DermaMNIST/
373
+ β”‚ β”‚ β”œβ”€β”€ DermaMNIST_test.json
374
+ β”‚ β”‚ β”œβ”€β”€ DermaMNIST_i2i_test.json
375
+ β”‚ β”‚ └── DermaMNIST_t2i_test.json
376
+ β”‚ β”œβ”€β”€ Gastrointestinal/
377
+ β”‚ β”‚ └── gastrointestinal_test.json
378
+ β”‚ β”œβ”€β”€ ISIC-2019/
379
+ β”‚ β”‚ β”œβ”€β”€ ISIC_2019_test.json
380
+ β”‚ β”‚ β”œβ”€β”€ ISIC_2019_i2i_test.json
381
+ β”‚ β”‚ └── ISIC_2019_t2i_test.json
382
+ β”‚ β”œβ”€β”€ Kvasir/
383
+ β”‚ β”‚ β”œβ”€β”€ Kvasir_test.json
384
+ β”‚ β”‚ β”œβ”€β”€ Kvasir_i2i_test.json
385
+ β”‚ β”‚ └── Kvasir_t2i_test.json
386
+ β”‚ β”œβ”€β”€ lc25000/
387
+ β”‚ β”‚ β”œβ”€β”€ LC25000_cls_new.json
388
+ β”‚ β”‚ β”œβ”€β”€ LC25000_i2i_new.json
389
+ β”‚ β”‚ └── LC25000_t2i_new.json
390
+ β”‚ β”œβ”€β”€ MedPIX/
391
+ β”‚ β”‚ └── MedPix_test.json
392
+ β”‚ β”œβ”€β”€ MIMIC-CXR-Report/
393
+ β”‚ β”‚ └── MIMIC-CXR_test.json
394
+ β”‚ β”œβ”€β”€ MIMIC-CXR-T/
395
+ β”‚ β”‚ β”œβ”€β”€ mimic-cxr-lt-test.json
396
+ β”‚ β”‚ β”œβ”€β”€ mimic-cxr-lt-i2i-test.json
397
+ β”‚ β”‚ └── mimic-cxr-lt-t2i-test.json
398
+ β”‚ β”œβ”€β”€ MIMIC-CXR-VQA/
399
+ β”‚ β”‚ └── mimic_test.json
400
+ β”‚ β”œβ”€β”€ OCTMNIST/
401
+ β”‚ β”‚ β”œβ”€β”€ OCTMNIST_test.json
402
+ β”‚ β”‚ β”œβ”€β”€ OCTMNIST_i2i_test.json
403
+ β”‚ β”‚ └── OCTMNIST_t2i_test.json
404
+ β”‚ β”œβ”€β”€ OmniMedVQA_vqa/
405
+ β”‚ β”‚ └── OmniMedVQA_vqa_new.json
406
+ β”‚ β”œβ”€β”€ OrganAMNIST/
407
+ β”‚ β”‚ β”œβ”€β”€ OrganAMNIST_test.json
408
+ β”‚ β”‚ β”œβ”€β”€ OrganAMNIST_i2i_test.json
409
+ β”‚ β”‚ └── OrganAMNIST_t2i_test.json
410
+ β”‚ β”œβ”€β”€ OrganCMNIST/
411
+ β”‚ β”‚ β”œβ”€β”€ OrganCMNIST_test.json
412
+ β”‚ β”‚ β”œβ”€β”€ OrganCMNIST_i2i_test.json
413
+ β”‚ β”‚ └── OrganCMNIST_t2i_test.json
414
+ β”‚ β”œβ”€β”€ OrganSMNIST/
415
+ β”‚ β”‚ β”œβ”€β”€ OrganSMNIST_test.json
416
+ β”‚ β”‚ β”œβ”€β”€ OrganSMNIST_i2i_test.json
417
+ β”‚ β”‚ └── OrganSMNIST_t2i_test.json
418
+ β”‚ β”œβ”€β”€ PanNuke/
419
+ β”‚ β”‚ β”œβ”€β”€ pannuke_i2i_test.json
420
+ β”‚ β”‚ └── pannuke_t2i_test.json
421
+ β”‚ β”œβ”€β”€ PanNuke_VG/
422
+ β”‚ β”‚ └── PanNuke_test.json
423
+ β”‚ β”œβ”€β”€ PathMNIST/
424
+ β”‚ β”‚ β”œβ”€β”€ PathMNIST_test.json
425
+ β”‚ β”‚ β”œβ”€β”€ PathMNIST_i2i_test.json
426
+ β”‚ β”‚ └── PathMNIST_t2i_test.json
427
+ β”‚ β”œβ”€β”€ PathVQA/
428
+ β”‚ β”‚ └── Path-VQA_test.json
429
+ β”‚ β”œβ”€β”€ PMC/
430
+ β”‚ β”‚ └── PMC-VQA_test.json
431
+ β”‚ β”œβ”€β”€ RadImageNet-VQA/
432
+ β”‚ β”‚ └── RadLmageNet_test.json
433
+ β”‚ β”œβ”€β”€ REtinal/
434
+ β”‚ β”‚ β”œβ”€β”€ Retinal_i2i_new.json
435
+ β”‚ β”‚ └── Retinal_t2i_new.json
436
+ β”‚ β”œβ”€β”€ ROCO-VQA/
437
+ β”‚ β”‚ └── ROCO_test.json
438
+ β”‚ β”œβ”€β”€ SkinLesion/
439
+ β”‚ β”‚ └── skin_test.json
440
+ β”‚ β”œβ”€β”€ TissueMNIST/
441
+ β”‚ β”‚ β”œβ”€β”€ TissueMNIST_test.json
442
+ β”‚ β”‚ β”œβ”€β”€ TissueMNIST_i2i_test.json
443
+ β”‚ β”‚ └── TissueMNIST_t2i_test.json
444
+ β”‚ β”œβ”€β”€ UltrasoundNerve/
445
+ β”‚ β”‚ └── Ultrasound_test.json
446
+ β”‚ β”œβ”€β”€ USData/
447
+ β”‚ β”‚ └── USData_test.json
448
+ β”‚ β”œβ”€β”€ VindrCXR/
449
+ β”‚ β”‚ └── VinDr-CXR_test.json
450
+ β”‚ β”œβ”€β”€ VindrMammo/
451
+ β”‚ β”‚ └── VindrMammo_test.json
452
+ β”‚ └── VQA-RAD/
453
+ β”‚ └── VQA_test.json
454
+ β”‚
455
+ β”œβ”€β”€ 2D_Images/
456
+ β”‚ β”œβ”€β”€ APTOS/train_images/
457
+ β”‚ β”œβ”€β”€ BloodMNIST/output_images/test/
458
+ β”‚ β”œβ”€β”€ Brain-Tumor-MRI/datasets/Testing/
459
+ β”‚ β”œβ”€β”€ ChestImagrome/gold_crop/
460
+ β”‚ β”œβ”€β”€ ChestMNIST/output_images/test/
461
+ β”‚ β”œβ”€β”€ chexpert_plus/png/
462
+ β”‚ β”œβ”€β”€ DermaMNIST/output_images/test/
463
+ β”‚ β”œβ”€β”€ Gastrointestinal/
464
+ β”‚ β”œβ”€β”€ ISIC-2019/test/ISIC_2019_Test_Input/
465
+ β”‚ β”œβ”€β”€ kvasir-dataset/datasets/test/
466
+ β”‚ β”œβ”€β”€ lc25000/lung_colon_image_set/Test_Set/
467
+ β”‚ β”œβ”€β”€ MedPIX/
468
+ β”‚ β”œβ”€β”€ MIMIC-CXR-T/
469
+ β”‚ β”œβ”€β”€ MIMIC-CXR-Report/files/
470
+ β”‚ β”œβ”€β”€ MIMIC-CXR-VQA/files/
471
+ β”‚ β”œβ”€β”€ OCTMNIST/output_images/test/
472
+ β”‚ β”œβ”€β”€ OmniMedVQA_vqa/test/
473
+ β”‚ β”œβ”€β”€ OrganAMNIST/output_images/test/
474
+ β”‚ β”œβ”€β”€ OrganCMNIST/output_images/test/
475
+ β”‚ β”œβ”€β”€ OrganSMNIST/output_images/test/
476
+ β”‚ β”œβ”€β”€ PanNuke/test_images/
477
+ β”‚ β”œβ”€β”€ PanNuke_VG/
478
+ β”‚ β”œβ”€β”€ PathMNIST/output_images/test/
479
+ β”‚ β”œβ”€β”€ PathVQA/test_images/
480
+ β”‚ β”œβ”€β”€ PMC/
481
+ β”‚ β”œβ”€β”€ RadImageNet-VQA/test/images/
482
+ β”‚ β”œβ”€β”€ REtinal/Test_Set/Test/
483
+ β”‚ β”œβ”€β”€ ROCO-VQA/
484
+ β”‚ β”œβ”€β”€ SkinLesion/
485
+ β”‚ β”œβ”€β”€ TissueMNIST/output_images/test/
486
+ β”‚ β”œβ”€β”€ UltrasoundNerve/
487
+ β”‚ β”œβ”€β”€ USData/
488
+ β”‚ β”œβ”€β”€ VindrCXR/
489
+ β”‚ β”œβ”€β”€ VindrMammo/
490
+ β”‚ └── VQA-RAD/test/
491
+ β”‚
492
+ β”œβ”€β”€ 3D_Task/
493
+ β”‚ β”œβ”€β”€ BraTS2023/
494
+ β”‚ β”‚ β”œβ”€β”€ bratsped_t1_to_t2_test.json
495
+ β”‚ β”‚ └── bratsped_t2_to_t1_test.json
496
+ β”‚ β”œβ”€β”€ BraTS_MEN/
497
+ β”‚ β”‚ └── BraTS-MEN-i2t_new.json
498
+ β”‚ β”œβ”€β”€ ChirrMRI600/
499
+ β”‚ β”‚ β”œβ”€β”€ Chirr_test.json
500
+ β”‚ β”‚ β”œβ”€β”€ Chirr_i2i_test.json
501
+ β”‚ β”‚ └── Chirr_t2i_test.json
502
+ β”‚ β”œβ”€β”€ CirrMRI600_Cross/
503
+ β”‚ β”‚ β”œβ”€β”€ ChirrMRI_test_t1_to_t2.json
504
+ β”‚ β”‚ └── ChirrMRI_test_t2_to_t1.json
505
+ β”‚ β”œβ”€β”€ CT_RATE/
506
+ β”‚ β”‚ β”œβ”€β”€ CT_RATE_test.json
507
+ β”‚ β”‚ β”œβ”€β”€ CT_RATE_vqa_test.json
508
+ β”‚ β”‚ β”œβ”€β”€ CT_RATE_t2i_test.json
509
+ β”‚ β”‚ └── CT_RATE_i2i_test.json
510
+ β”‚ β”œβ”€β”€ HaN-Seg/
511
+ β”‚ β”‚ └── hanseg_mri_to_ct_test.json
512
+ β”‚ β”œβ”€β”€ M3D/
513
+ β”‚ β”‚ β”œβ”€β”€ m3d_3dqa_test.json
514
+ β”‚ β”‚ β”œβ”€β”€ m3d_i2t_test.json
515
+ β”‚ β”‚ └── m3d_t2i_test.json
516
+ β”‚ β”œβ”€β”€ MMDental/
517
+ β”‚ β”‚ └── MMDental_i2t_test.json
518
+ β”‚ β”œβ”€β”€ MRNet/
519
+ β”‚ β”‚ β”œβ”€β”€ MRNet_test.json
520
+ β”‚ β”‚ β”œβ”€β”€ MRNet_i2i_test.json
521
+ β”‚ β”‚ └── MRNet_t2i_test.json
522
+ β”‚ β”œβ”€β”€ NoduleMNIST/
523
+ β”‚ β”‚ └── Nodule_test.json
524
+ β”‚ β”œβ”€β”€ Organ3dMNIST/
525
+ β”‚ β”‚ β”œβ”€β”€ Organ_test.json
526
+ β”‚ β”‚ β”œβ”€β”€ Organ_i2i_test.json
527
+ β”‚ β”‚ └── Organ_t2i_test.json
528
+ β”‚ β”œβ”€β”€ RadGen_CT/
529
+ β”‚ β”‚ β”œβ”€β”€ RGCC_i2t_test.json
530
+ β”‚ β”‚ └── RGCC_test_VQA.json
531
+ β”‚ β”œβ”€β”€ SynapseMNIST/
532
+ β”‚ β”‚ └── Synapse_test.json
533
+ β”‚ └── SynthRAD/
534
+ β”‚ β”œβ”€β”€ brain_ct_to_mri_test.json
535
+ β”‚ β”œβ”€β”€ brain_mri_to_ct_test.json
536
+ β”‚ β”œβ”€β”€ pelvis_ct_to_mri_test.json
537
+ β”‚ └── pelvis_mri_to_ct_test.json
538
+ β”‚
539
+ β”œβ”€β”€ 3D_Images/
540
+ β”‚ β”œβ”€β”€ BraTS2023/
541
+ β”‚ β”œβ”€β”€ BraTS_MEN/BraTS-MEN-Test/
542
+ β”‚ β”œβ”€β”€ ChirrMRI600/Cirrhosis_T1_slide/
543
+ β”‚ β”œβ”€β”€ CirrMRI600_Cross/
544
+ β”‚ β”œβ”€β”€ CT_RATE/
545
+ β”‚ β”‚ β”œβ”€β”€ valid_fixed_sliced/
546
+ β”‚ β”‚ └── valid_fixed_drr/
547
+ β”‚ β”œβ”€β”€ HaN-Seg/
548
+ β”‚ β”œβ”€β”€ M3D/ct_quizze/
549
+ β”‚ β”œβ”€β”€ MMDental/cbct_png/
550
+ β”‚ β”œβ”€β”€ MRNet/valid_images/
551
+ β”‚ β”œβ”€β”€ NoduleMNIST/test_slides/
552
+ β”‚ β”œβ”€β”€ Organ3dMNIST/test_slides/
553
+ β”‚ β”œβ”€β”€ RadGen_CT/valid_preprocessed_sliced/
554
+ β”‚ β”œβ”€β”€ SynapseMNIST/test_slides/
555
+ β”‚ └── SynthRAD/images/
556
+ β”‚
557
+ └── Text_Task/
558
+ β”œβ”€β”€ ChexpertPlus/
559
+ β”‚ └── chexpert_plus_f2i_new.json
560
+ β”œβ”€β”€ MedicalQARetrieval/
561
+ β”‚ └── MedicalQARetrieval_test.json
562
+ β”œβ”€β”€ MedMCQA/
563
+ β”‚ └── medmcqa_test.json
564
+ β”œβ”€β”€ MIMIC_f2i/
565
+ β”‚ └── MIMIC_f2i_test.json
566
+ β”œβ”€β”€ MMDental/
567
+ β”‚ └── MMDental_t2t_test.json
568
+ β”œβ”€β”€ PublicHealthQA/
569
+ β”‚ └── PublicHealthQA_test.json
570
+ └── PubMedQA/
571
+ └── PubMedQA_test.json
572
+ ```
573
+
574
+ ## Model Weights
575
+
576
+ The model weights for the two MedEmb variants are hosted in separate Hugging Face repositories:
577
+
578
+ - **MedEmb-2B:** [Model weights](https://huggingface.co/MEDHEB/MedEmb-2B)
579
+ - **MedEmb-8B:** [Model weights](https://huggingface.co/MEDHEB/MedEmb-8B)
580
+
581
+ Please refer to the corresponding model repository for usage instructions, model configuration, and licensing information.
582
+
583
+ ## License
584
+
585
+ This benchmark aggregates data drawn from many publicly available medical
586
+ imaging and text datasets. **Each sub-dataset retains the license and
587
+ data-use terms of its original source.** Users are responsible for
588
+ complying with the upstream license of any sub-dataset they use.