Datasets:
Tasks:
Image Classification
Sub-tasks:
multi-class-image-classification
Languages:
English
Size:
100K<n<1M
ArXiv:
License:
Commit
•
a3df910
1
Parent(s):
f4c8f95
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
- rvl_cdip.py +0 -2
rvl_cdip.py
CHANGED
@@ -18,7 +18,6 @@
|
|
18 |
import os
|
19 |
|
20 |
import datasets
|
21 |
-
from datasets.tasks import ImageClassification
|
22 |
|
23 |
|
24 |
_CITATION = """\
|
@@ -92,7 +91,6 @@ class RvlCdip(datasets.GeneratorBasedBuilder):
|
|
92 |
homepage=_HOMEPAGE,
|
93 |
citation=_CITATION,
|
94 |
license=_LICENSE,
|
95 |
-
task_templates=[ImageClassification(image_column="image", label_column="label")],
|
96 |
)
|
97 |
|
98 |
def _split_generators(self, dl_manager):
|
|
|
18 |
import os
|
19 |
|
20 |
import datasets
|
|
|
21 |
|
22 |
|
23 |
_CITATION = """\
|
|
|
91 |
homepage=_HOMEPAGE,
|
92 |
citation=_CITATION,
|
93 |
license=_LICENSE,
|
|
|
94 |
)
|
95 |
|
96 |
def _split_generators(self, dl_manager):
|