Datasets:

Languages:
English
ArXiv:
License:
albertvillanova HF staff commited on
Commit
65ddac3
1 Parent(s): f666ec8

Remove deprecated tasks

Browse files

This 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

Files changed (1) hide show
  1. quickdraw.py +0 -2
quickdraw.py CHANGED
@@ -24,7 +24,6 @@ from datetime import datetime
24
  import numpy as np
25
 
26
  import datasets
27
- from datasets.tasks import ImageClassification
28
 
29
 
30
  _CITATION = """\
@@ -235,7 +234,6 @@ class Quickdraw(datasets.GeneratorBasedBuilder):
235
  homepage=_HOMEPAGE,
236
  license=_LICENSE,
237
  citation=_CITATION,
238
- task_templates=[ImageClassification(image_column="image", label_column="label")]
239
  if self.config.name == "preprocessed_bitmaps"
240
  else None,
241
  )
 
24
  import numpy as np
25
 
26
  import datasets
 
27
 
28
 
29
  _CITATION = """\
 
234
  homepage=_HOMEPAGE,
235
  license=_LICENSE,
236
  citation=_CITATION,
 
237
  if self.config.name == "preprocessed_bitmaps"
238
  else None,
239
  )