igorktech commited on
Commit
35f9d9f
·
1 Parent(s): 998d312

Update daiso.py

Browse files
Files changed (1) hide show
  1. daiso.py +1 -1
daiso.py CHANGED
@@ -1389,7 +1389,7 @@ class DAISO(datasets.GeneratorBasedBuilder):
1389
  features = {feature: datasets.Value("string") for feature in self.config.features}
1390
  if self.config.label_classes:
1391
  features["Label"] = datasets.features.ClassLabel(names=list(
1392
- set(['OOD' if label == 'null' or label is None or label == 'None' else label for label in
1393
  list(self.config.label_classes.keys())])
1394
  ))
1395
  features["Label_ISO"] = datasets.features.ClassLabel(
 
1389
  features = {feature: datasets.Value("string") for feature in self.config.features}
1390
  if self.config.label_classes:
1391
  features["Label"] = datasets.features.ClassLabel(names=list(
1392
+ set(['OOD' if label == 'null' or label is None or label == 'None' or label == 'OOD' else label for label in
1393
  list(self.config.label_classes.keys())])
1394
  ))
1395
  features["Label_ISO"] = datasets.features.ClassLabel(