Chris Oswald
commited on
Commit
·
47ebf1a
1
Parent(s):
c712771
debugging
Browse files
SPIDER.py
CHANGED
|
@@ -193,10 +193,8 @@ class SPIDER(datasets.GeneratorBasedBuilder):
|
|
| 193 |
features = datasets.Features({
|
| 194 |
"patient_id": datasets.Value("string"),
|
| 195 |
"scan_type": datasets.Value("string"),
|
| 196 |
-
"image": datasets.Array3D(dtype='uint8'),
|
| 197 |
-
"mask": datasets.Array3D(dtype='uint8'),
|
| 198 |
-
# "image": datasets.Array3D(shape=self.config.resize_shape, dtype='uint8'),
|
| 199 |
-
# "mask": datasets.Array3D(shape=self.config.resize_shape, dtype='uint8'),
|
| 200 |
"image_path": datasets.Value("string"),
|
| 201 |
"mask_path": datasets.Value("string"),
|
| 202 |
"metadata": {
|
|
|
|
| 193 |
features = datasets.Features({
|
| 194 |
"patient_id": datasets.Value("string"),
|
| 195 |
"scan_type": datasets.Value("string"),
|
| 196 |
+
"image": datasets.Array3D(shape=self.config.resize_shape, dtype='uint8'),
|
| 197 |
+
"mask": datasets.Array3D(shape=self.config.resize_shape, dtype='uint8'),
|
|
|
|
|
|
|
| 198 |
"image_path": datasets.Value("string"),
|
| 199 |
"mask_path": datasets.Value("string"),
|
| 200 |
"metadata": {
|