Chris Oswald
commited on
Commit
·
1bda929
1
Parent(s):
e8f6c44
updated raw image type
Browse files
SPIDER.py
CHANGED
|
@@ -138,7 +138,7 @@ class SPIDER(datasets.GeneratorBasedBuilder):
|
|
| 138 |
features = datasets.Features({
|
| 139 |
"patient_id": datasets.Value("string"),
|
| 140 |
"scan_type": datasets.Value("string"),
|
| 141 |
-
"raw_image": datasets.
|
| 142 |
"numeric_array": datasets.Value("numpy", dtype="int16", shape=(512, 512, 17)),
|
| 143 |
"metadata": {
|
| 144 |
"num_vertebrae": datasets.Value(dtype="string"),
|
|
|
|
| 138 |
features = datasets.Features({
|
| 139 |
"patient_id": datasets.Value("string"),
|
| 140 |
"scan_type": datasets.Value("string"),
|
| 141 |
+
"raw_image": datasets.Image(),
|
| 142 |
"numeric_array": datasets.Value("numpy", dtype="int16", shape=(512, 512, 17)),
|
| 143 |
"metadata": {
|
| 144 |
"num_vertebrae": datasets.Value(dtype="string"),
|