albertvillanova HF staff commited on
Commit
b644fe2
1 Parent(s): ef44f5f

Remove deprecated tasks (#1)

Browse files

- Remove deprecated tasks (3834587f11262d9f0ac2078bb795ff661861223e)

Files changed (1) hide show
  1. imagenette.py +0 -6
imagenette.py CHANGED
@@ -2,7 +2,6 @@ import os
2
  from pathlib import Path
3
 
4
  import datasets
5
- from datasets.tasks import ImageClassification
6
 
7
 
8
  _CITATION = """
@@ -87,11 +86,6 @@ class Imagenette(datasets.GeneratorBasedBuilder):
87
  supervised_keys=("image_file_path", "labels"),
88
  homepage="https://github.com/fastai/imagenette",
89
  citation=_CITATION,
90
- task_templates=[
91
- ImageClassification(
92
- image_file_path_column="image_file_path", label_column="labels", labels=LABELS
93
- )
94
- ],
95
  )
96
 
97
  def _split_generators(self, dl_manager):
 
2
  from pathlib import Path
3
 
4
  import datasets
 
5
 
6
 
7
  _CITATION = """
 
86
  supervised_keys=("image_file_path", "labels"),
87
  homepage="https://github.com/fastai/imagenette",
88
  citation=_CITATION,
 
 
 
 
 
89
  )
90
 
91
  def _split_generators(self, dl_manager):