Chris Oswald commited on
Commit
47ebf1a
1 Parent(s): c712771
Files changed (1) hide show
  1. SPIDER.py +2 -4
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": {