Datasets:
Tasks:
Image Segmentation
Modalities:
Image
Sub-tasks:
semantic-segmentation
Languages:
English
Size:
10K - 100K
License:
Update RSNA-ATD2023.py
Browse files- RSNA-ATD2023.py +3 -3
RSNA-ATD2023.py
CHANGED
@@ -70,9 +70,9 @@ class RSNAATD(datasets.GeneratorBasedBuilder):
|
|
70 |
row = df.loc[df["path"] == image_path.lower()]
|
71 |
|
72 |
yield idx, {
|
73 |
-
"patient_id": row["patient_id"]
|
74 |
-
"series_id": row["series_id"]
|
75 |
-
"frame_id": row["frame_id"]
|
76 |
"image": {"path": image_path, "bytes": image.read()},
|
77 |
"mask": {"path": mask_path, "bytes": mask.read()},
|
78 |
}
|
|
|
70 |
row = df.loc[df["path"] == image_path.lower()]
|
71 |
|
72 |
yield idx, {
|
73 |
+
"patient_id": row["patient_id"],
|
74 |
+
"series_id": row["series_id"],
|
75 |
+
"frame_id": row["frame_id"],
|
76 |
"image": {"path": image_path, "bytes": image.read()},
|
77 |
"mask": {"path": mask_path, "bytes": mask.read()},
|
78 |
}
|