Datasets:
Tasks:
Image Classification
License:
Commit
•
575dff8
1
Parent(s):
8f67ba1
Remove deprecated tasks (#3)
Browse files- Remove deprecated tasks (a3292a021570ba2f56d4c35c5d6fffb5e2b1ad1b)
snacks.py
CHANGED
@@ -4,7 +4,6 @@
|
|
4 |
import os
|
5 |
|
6 |
import datasets
|
7 |
-
from datasets.tasks import ImageClassification
|
8 |
|
9 |
|
10 |
_CITATION = """
|
@@ -55,7 +54,6 @@ class Snacks(datasets.GeneratorBasedBuilder):
|
|
55 |
homepage=_HOMEPAGE,
|
56 |
citation=_CITATION,
|
57 |
license=_LICENSE,
|
58 |
-
task_templates=ImageClassification(image_column="image", label_column="label"),
|
59 |
)
|
60 |
|
61 |
def _split_generators(self, dl_manager):
|
|
|
4 |
import os
|
5 |
|
6 |
import datasets
|
|
|
7 |
|
8 |
|
9 |
_CITATION = """
|
|
|
54 |
homepage=_HOMEPAGE,
|
55 |
citation=_CITATION,
|
56 |
license=_LICENSE,
|
|
|
57 |
)
|
58 |
|
59 |
def _split_generators(self, dl_manager):
|