Datasets:
Tasks:
Image Classification
Sub-tasks:
multi-class-image-classification
Languages:
English
Size:
10K<n<100K
ArXiv:
License:
Remove deprecated tasks
#4
by
albertvillanova
HF staff
- opened
- imagenet_sketch.py +0 -2
imagenet_sketch.py
CHANGED
@@ -17,7 +17,6 @@
|
|
17 |
import os
|
18 |
|
19 |
import datasets
|
20 |
-
from datasets.tasks import ImageClassification
|
21 |
|
22 |
from .classes import IMAGENET2012_CLASSES
|
23 |
|
@@ -61,7 +60,6 @@ class ImageNetSketch(datasets.GeneratorBasedBuilder):
|
|
61 |
supervised_keys=("image", "label"),
|
62 |
homepage=_HOMEPAGE,
|
63 |
citation=_CITATION,
|
64 |
-
task_templates=[ImageClassification(image_column="image", label_column="label")],
|
65 |
)
|
66 |
|
67 |
def _split_generators(self, dl_manager):
|
|
|
17 |
import os
|
18 |
|
19 |
import datasets
|
|
|
20 |
|
21 |
from .classes import IMAGENET2012_CLASSES
|
22 |
|
|
|
60 |
supervised_keys=("image", "label"),
|
61 |
homepage=_HOMEPAGE,
|
62 |
citation=_CITATION,
|
|
|
63 |
)
|
64 |
|
65 |
def _split_generators(self, dl_manager):
|