albertvillanova HF staff commited on
Commit
e299e58
1 Parent(s): 4025116

Remove deprecated tasks (#3)

Browse files

- Remove deprecated tasks (b7c74b4ab7318fc9f762e4132707a8212533b6b0)

Files changed (1) hide show
  1. metashift.py +0 -2
metashift.py CHANGED
@@ -45,7 +45,6 @@ import pickle
45
  from collections import Counter, defaultdict
46
 
47
  import datasets
48
- from datasets.tasks import ImageClassification
49
 
50
 
51
  _CITATION = """\
@@ -162,7 +161,6 @@ class Metashift(datasets.GeneratorBasedBuilder):
162
  homepage=_HOMEPAGE,
163
  license=_LICENSE,
164
  citation=_CITATION,
165
- task_templates=[ImageClassification(image_column="image", label_column="label")],
166
  )
167
 
168
  def _get_feature_types(self):
 
45
  from collections import Counter, defaultdict
46
 
47
  import datasets
 
48
 
49
 
50
  _CITATION = """\
 
161
  homepage=_HOMEPAGE,
162
  license=_LICENSE,
163
  citation=_CITATION,
 
164
  )
165
 
166
  def _get_feature_types(self):