Commit
•
fba83af
1
Parent(s):
545613a
Remove deprecated tasks
Browse filesThis dataset uses `tasks`, which are deprecated and will raise an error after the next major release of `datasets`. See: https://github.com/huggingface/datasets/pull/6999
- quickdraw.py +0 -7
quickdraw.py
CHANGED
@@ -4,7 +4,6 @@
|
|
4 |
import numpy as np
|
5 |
|
6 |
import datasets
|
7 |
-
from datasets.tasks import ImageClassification
|
8 |
|
9 |
|
10 |
_CITATION = """\
|
@@ -401,12 +400,6 @@ class QuickDraw(datasets.GeneratorBasedBuilder):
|
|
401 |
supervised_keys=("image", "label"),
|
402 |
homepage="https://github.com/googlecreativelab/quickdraw-dataset",
|
403 |
citation=_CITATION,
|
404 |
-
task_templates=[
|
405 |
-
ImageClassification(
|
406 |
-
image_column="image",
|
407 |
-
label_column="label",
|
408 |
-
)
|
409 |
-
],
|
410 |
)
|
411 |
|
412 |
def _split_generators(self, dl_manager):
|
|
|
4 |
import numpy as np
|
5 |
|
6 |
import datasets
|
|
|
7 |
|
8 |
|
9 |
_CITATION = """\
|
|
|
400 |
supervised_keys=("image", "label"),
|
401 |
homepage="https://github.com/googlecreativelab/quickdraw-dataset",
|
402 |
citation=_CITATION,
|
|
|
|
|
|
|
|
|
|
|
|
|
403 |
)
|
404 |
|
405 |
def _split_generators(self, dl_manager):
|