alkzar90 commited on
Commit
995af13
1 Parent(s): 1c45d68

Fix missing { on dataset.features

Browse files
Files changed (1) hide show
  1. NIH-Chest-X-ray-dataset.py +2 -0
NIH-Chest-X-ray-dataset.py CHANGED
@@ -115,6 +115,7 @@ class ChestXray14(datasets.GeneratorBasedBuilder):
115
  def _info(self):
116
  if self.config.name == "image-cllassification":
117
  features = datasets.Features(
 
118
  "image": datasets.Image(),
119
  "labels": datasets.features.Sequence(
120
  datasets.features.ClassLabel(
@@ -122,6 +123,7 @@ class ChestXray14(datasets.GeneratorBasedBuilder):
122
  names=_NAMES
123
  )
124
  )
 
125
  )
126
  keys = ("image", "labels")
127
 
 
115
  def _info(self):
116
  if self.config.name == "image-cllassification":
117
  features = datasets.Features(
118
+ {
119
  "image": datasets.Image(),
120
  "labels": datasets.features.Sequence(
121
  datasets.features.ClassLabel(
 
123
  names=_NAMES
124
  )
125
  )
126
+ }
127
  )
128
  keys = ("image", "labels")
129