Remove deprecated tasks

#1
by albertvillanova HF staff - opened
Files changed (1) hide show
  1. mortars_test.py +0 -2
mortars_test.py CHANGED
@@ -1,7 +1,6 @@
1
  import os
2
 
3
  import datasets
4
- from datasets.tasks import ImageClassification
5
 
6
 
7
  _HOMEPAGE = ""
@@ -37,7 +36,6 @@ class MortarsTest(datasets.GeneratorBasedBuilder):
37
  supervised_keys=("image", "labels"),
38
  homepage=_HOMEPAGE,
39
  citation=_CITATION,
40
- task_templates=[ImageClassification(image_column="image", label_column="labels")],
41
  )
42
 
43
  def _split_generators(self, dl_manager):
 
1
  import os
2
 
3
  import datasets
 
4
 
5
 
6
  _HOMEPAGE = ""
 
36
  supervised_keys=("image", "labels"),
37
  homepage=_HOMEPAGE,
38
  citation=_CITATION,
 
39
  )
40
 
41
  def _split_generators(self, dl_manager):