Fixed paths in generate examples
Browse files- AeroPath.py +3 -3
AeroPath.py
CHANGED
@@ -159,8 +159,8 @@ class AeroPath(datasets.GeneratorBasedBuilder):
|
|
159 |
print("patient_id:", patient_id)
|
160 |
curr_path = os.path.join(self.DATA_DIR, patient_id)
|
161 |
yield patient_id, {
|
162 |
-
"ct": os.path.join(curr_path, patient_id
|
163 |
-
"airways": os.path.join(curr_path, patient_id
|
164 |
-
"lungs": os.path.join(curr_path, patient_id
|
165 |
}
|
166 |
|
|
|
159 |
print("patient_id:", patient_id)
|
160 |
curr_path = os.path.join(self.DATA_DIR, patient_id)
|
161 |
yield patient_id, {
|
162 |
+
"ct": os.path.join(curr_path, patient_id + "_CT_HR.nii.gz"),
|
163 |
+
"airways": os.path.join(curr_path, patient_id + "_CT_HR_label_airways.nii.gz"),
|
164 |
+
"lungs": os.path.join(curr_path, patient_id + "_CT_HR_label_lungs.nii.gz"),
|
165 |
}
|
166 |
|