Remove deprecated tasks

#4
by albertvillanova HF staff - opened
Files changed (1) hide show
  1. fashion_mnist_corrupted.py +0 -4
fashion_mnist_corrupted.py CHANGED
@@ -7,7 +7,6 @@ import os.path
7
 
8
  import datasets
9
  import numpy as np
10
- from datasets.tasks import ImageClassification
11
 
12
  _CITATION = """\
13
  @inproceedings{Weiss2022SimpleTechniques,
@@ -78,9 +77,6 @@ class FashionMnistCorrupted(datasets.GeneratorBasedBuilder):
78
  supervised_keys=("image", "label"),
79
  homepage=_HOMEPAGE,
80
  citation=_CITATION,
81
- task_templates=[
82
- ImageClassification(image_column="image", label_column="label")
83
- ],
84
  )
85
 
86
  def _split_generators(self, dl_manager):
 
7
 
8
  import datasets
9
  import numpy as np
 
10
 
11
  _CITATION = """\
12
  @inproceedings{Weiss2022SimpleTechniques,
 
77
  supervised_keys=("image", "label"),
78
  homepage=_HOMEPAGE,
79
  citation=_CITATION,
 
 
 
80
  )
81
 
82
  def _split_generators(self, dl_manager):