andreped commited on
Commit
9331cda
·
1 Parent(s): 05796b2

Update IBDColEpi.py

Browse files
Files changed (1) hide show
  1. IBDColEpi.py +3 -3
IBDColEpi.py CHANGED
@@ -89,7 +89,7 @@ class IBDColEpi(datasets.GeneratorBasedBuilder):
89
  datasets.BuilderConfig(name="part" + str(x), version=VERSION, description="This include part " + str(x) + "/10 of the WSIs of the dataset.") \
90
  for x in range(1, 11)
91
  ] + [
92
- datasets.BuilderConfig(name="wsi-annotations", version=VERSION, description="This includes all 27 CTs stored as a single zip on Zenodo")
93
  ]
94
 
95
  DEFAULT_CONFIG_NAME = "part1" # It's not mandatory to have a default configuration. Just use one if it make sense.
@@ -110,7 +110,7 @@ class IBDColEpi(datasets.GeneratorBasedBuilder):
110
  elif self.config.name == "wsi-annotations":
111
  features = datasets.Features(
112
  {
113
- "wsi": datasets.Value("string"),
114
  # These are the features of your dataset like images, labels ...
115
  }
116
  )
@@ -168,7 +168,7 @@ class IBDColEpi(datasets.GeneratorBasedBuilder):
168
  gen_kwargs={
169
  "dataset_name": "wsi-annotations",
170
  },
171
- )
172
  ]
173
 
174
  return generators
 
89
  datasets.BuilderConfig(name="part" + str(x), version=VERSION, description="This include part " + str(x) + "/10 of the WSIs of the dataset.") \
90
  for x in range(1, 11)
91
  ] + [
92
+ datasets.BuilderConfig(name="wsi-annotations", version=VERSION, description="This include all annotations stored as binary pyramidal, tiled TIFFs."),
93
  ]
94
 
95
  DEFAULT_CONFIG_NAME = "part1" # It's not mandatory to have a default configuration. Just use one if it make sense.
 
110
  elif self.config.name == "wsi-annotations":
111
  features = datasets.Features(
112
  {
113
+ "annotation": datasets.Value("string"),
114
  # These are the features of your dataset like images, labels ...
115
  }
116
  )
 
168
  gen_kwargs={
169
  "dataset_name": "wsi-annotations",
170
  },
171
+ ),
172
  ]
173
 
174
  return generators