Remove deprecated tasks

#1
by albertvillanova HF staff - opened
Files changed (1) hide show
  1. imagenet-sketch.py +0 -2
imagenet-sketch.py CHANGED
@@ -17,7 +17,6 @@
17
  import os
18
 
19
  import datasets
20
- from datasets.tasks import ImageClassification
21
 
22
  # from classes import IMAGENET2012_CLASSES
23
 
@@ -1068,7 +1067,6 @@ class ImageNetSketch(datasets.GeneratorBasedBuilder):
1068
  supervised_keys=("image", "labels"),
1069
  homepage=_HOMEPAGE,
1070
  citation=_CITATION,
1071
- task_templates=[ImageClassification(image_column="image", label_column="labels")],
1072
  )
1073
 
1074
  def _split_generators(self, dl_manager):
 
17
  import os
18
 
19
  import datasets
 
20
 
21
  # from classes import IMAGENET2012_CLASSES
22
 
 
1067
  supervised_keys=("image", "labels"),
1068
  homepage=_HOMEPAGE,
1069
  citation=_CITATION,
 
1070
  )
1071
 
1072
  def _split_generators(self, dl_manager):