Chris Oswald commited on
Commit ·
af71e33
1
Parent(s): 5ce6d63
added specific data types
Browse files
SPIDER.py
CHANGED
|
@@ -198,44 +198,44 @@ class SPIDER(datasets.GeneratorBasedBuilder):
|
|
| 198 |
"image_path": datasets.Value("string"),
|
| 199 |
"mask_path": datasets.Value("string"),
|
| 200 |
"metadata": {
|
| 201 |
-
"num_vertebrae": datasets.Value(
|
| 202 |
-
"num_discs": datasets.Value(
|
| 203 |
-
"sex": datasets.Value(
|
| 204 |
-
"birth_date": datasets.Value(
|
| 205 |
-
"AngioFlag": datasets.Value(
|
| 206 |
-
"BodyPartExamined": datasets.Value(
|
| 207 |
-
"DeviceSerialNumber": datasets.Value(
|
| 208 |
-
"EchoNumbers": datasets.Value(
|
| 209 |
-
"EchoTime": datasets.Value(
|
| 210 |
-
"EchoTrainLength": datasets.Value(
|
| 211 |
-
"FlipAngle": datasets.Value(
|
| 212 |
-
"ImagedNucleus": datasets.Value(
|
| 213 |
-
"ImagingFrequency": datasets.Value(
|
| 214 |
-
"InPlanePhaseEncodingDirection": datasets.Value(
|
| 215 |
-
"MRAcquisitionType": datasets.Value(
|
| 216 |
-
"MagneticFieldStrength": datasets.Value(
|
| 217 |
-
"Manufacturer": datasets.Value(
|
| 218 |
-
"ManufacturerModelName": datasets.Value(
|
| 219 |
-
"NumberOfPhaseEncodingSteps": datasets.Value(
|
| 220 |
-
"PercentPhaseFieldOfView": datasets.Value(
|
| 221 |
-
"PercentSampling": datasets.Value(
|
| 222 |
-
"PhotometricInterpretation": datasets.Value(
|
| 223 |
-
"PixelBandwidth": datasets.Value(
|
| 224 |
-
"PixelSpacing": datasets.Value(
|
| 225 |
-
"RepetitionTime": datasets.Value(
|
| 226 |
-
"SAR": datasets.Value(
|
| 227 |
-
"SamplesPerPixel": datasets.Value(
|
| 228 |
-
"ScanningSequence": datasets.Value(
|
| 229 |
-
"SequenceName": datasets.Value(
|
| 230 |
-
"SeriesDescription": datasets.Value(
|
| 231 |
-
"SliceThickness": datasets.Value(
|
| 232 |
-
"SoftwareVersions": datasets.Value(
|
| 233 |
-
"SpacingBetweenSlices": datasets.Value(
|
| 234 |
-
"SpecificCharacterSet": datasets.Value(
|
| 235 |
-
"TransmitCoilName": datasets.Value(
|
| 236 |
-
"WindowCenter": datasets.Value(
|
| 237 |
-
"WindowWidth": datasets.Value(
|
| 238 |
-
"OrigSubset":datasets.Value(
|
| 239 |
},
|
| 240 |
"rad_gradings": {
|
| 241 |
"IVD label": datasets.Sequence(datasets.Value("string")),
|
|
|
|
| 198 |
"image_path": datasets.Value("string"),
|
| 199 |
"mask_path": datasets.Value("string"),
|
| 200 |
"metadata": {
|
| 201 |
+
"num_vertebrae": datasets.Value("int16"),
|
| 202 |
+
"num_discs": datasets.Value("int16"),
|
| 203 |
+
"sex": datasets.Value("string"),
|
| 204 |
+
"birth_date": datasets.Value("date32"),
|
| 205 |
+
"AngioFlag": datasets.Value("string"),
|
| 206 |
+
"BodyPartExamined": datasets.Value("string"),
|
| 207 |
+
"DeviceSerialNumber": datasets.Value("string"),
|
| 208 |
+
"EchoNumbers": datasets.Value("float32"),
|
| 209 |
+
"EchoTime": datasets.Value("float32"),
|
| 210 |
+
"EchoTrainLength": datasets.Value("float32"),
|
| 211 |
+
"FlipAngle": datasets.Value("float32"),
|
| 212 |
+
"ImagedNucleus": datasets.Value("string"),
|
| 213 |
+
"ImagingFrequency": datasets.Value("float32"),
|
| 214 |
+
"InPlanePhaseEncodingDirection": datasets.Value("string"),
|
| 215 |
+
"MRAcquisitionType": datasets.Value("string"),
|
| 216 |
+
"MagneticFieldStrength": datasets.Value("float32"),
|
| 217 |
+
"Manufacturer": datasets.Value("string"),
|
| 218 |
+
"ManufacturerModelName": datasets.Value("string"),
|
| 219 |
+
"NumberOfPhaseEncodingSteps": datasets.Value("int32"),
|
| 220 |
+
"PercentPhaseFieldOfView": datasets.Value("float64"),
|
| 221 |
+
"PercentSampling": datasets.Value("float64"),
|
| 222 |
+
"PhotometricInterpretation": datasets.Value("string"),
|
| 223 |
+
"PixelBandwidth": datasets.Value("int32"),
|
| 224 |
+
"PixelSpacing": datasets.Sequence(datasets.Value("float32")),
|
| 225 |
+
"RepetitionTime": datasets.Value("float64"),
|
| 226 |
+
"SAR": datasets.Value("float64"),
|
| 227 |
+
"SamplesPerPixel": datasets.Value("int32"),
|
| 228 |
+
"ScanningSequence": datasets.Value("string"),
|
| 229 |
+
"SequenceName": datasets.Value("string"),
|
| 230 |
+
"SeriesDescription": datasets.Value("string"),
|
| 231 |
+
"SliceThickness": datasets.Value("float32"),
|
| 232 |
+
"SoftwareVersions": datasets.Sequence(datasets.Value("string")),
|
| 233 |
+
"SpacingBetweenSlices": datasets.Value("float32"),
|
| 234 |
+
"SpecificCharacterSet": datasets.Value("string"),
|
| 235 |
+
"TransmitCoilName": datasets.Value("string"),
|
| 236 |
+
"WindowCenter": datasets.Value("float32"),
|
| 237 |
+
"WindowWidth": datasets.Value("float32"),
|
| 238 |
+
"OrigSubset":datasets.Value("string"),
|
| 239 |
},
|
| 240 |
"rad_gradings": {
|
| 241 |
"IVD label": datasets.Sequence(datasets.Value("string")),
|