albertvillanova HF staff commited on
Commit
dfedde4
·
verified ·
1 Parent(s): 8f9237c

Remove deprecated tasks (#4)

Browse files

- Remove deprecated tasks (8410af986f39dd759f0688c00d9ea3d0976fd666)

Files changed (1) hide show
  1. beans.py +0 -6
beans.py CHANGED
@@ -17,7 +17,6 @@
17
  from pathlib import Path
18
 
19
  import datasets
20
- from datasets.tasks import ImageClassification
21
 
22
 
23
  _HOMEPAGE = "https://github.com/AI-Lab-Makerere/ibean/"
@@ -64,11 +63,6 @@ class Beans(datasets.GeneratorBasedBuilder):
64
  supervised_keys=("image_file_path", "labels"),
65
  homepage=_HOMEPAGE,
66
  citation=_CITATION,
67
- task_templates=[
68
- ImageClassification(
69
- image_file_path_column="image_file_path", label_column="labels", labels=sorted(tuple(_NAMES))
70
- )
71
- ],
72
  )
73
 
74
  def _split_generators(self, dl_manager):
 
17
  from pathlib import Path
18
 
19
  import datasets
 
20
 
21
 
22
  _HOMEPAGE = "https://github.com/AI-Lab-Makerere/ibean/"
 
63
  supervised_keys=("image_file_path", "labels"),
64
  homepage=_HOMEPAGE,
65
  citation=_CITATION,
 
 
 
 
 
66
  )
67
 
68
  def _split_generators(self, dl_manager):