Commit
•
e39da9b
1
Parent(s):
74ddfcf
Remove deprecated tasks (#4)
Browse files- Remove deprecated tasks (370dc69fe8e84ea25f4d7fd6baea566a54821d74)
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):
|