system HF staff commited on
Commit
d35751b
1 Parent(s): a7820e8

Update files from the datasets library (from 1.18.0)

Browse files

Release notes: https://github.com/huggingface/datasets/releases/tag/1.18.0

Files changed (1) hide show
  1. cifar10.py +1 -1
cifar10.py CHANGED
@@ -78,7 +78,7 @@ class Cifar10(datasets.GeneratorBasedBuilder):
78
  supervised_keys=("img", "label"),
79
  homepage="https://www.cs.toronto.edu/~kriz/cifar.html",
80
  citation=_CITATION,
81
- task_templates=ImageClassification(image_column="img", label_column="label", labels=_NAMES),
82
  )
83
 
84
  def _split_generators(self, dl_manager):
78
  supervised_keys=("img", "label"),
79
  homepage="https://www.cs.toronto.edu/~kriz/cifar.html",
80
  citation=_CITATION,
81
+ task_templates=ImageClassification(image_column="img", label_column="label"),
82
  )
83
 
84
  def _split_generators(self, dl_manager):