Commit
•
89b6c90
1
Parent(s):
ff221b5
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
ecoset.py
CHANGED
@@ -106,8 +106,6 @@ class Ecoset(datasets.GeneratorBasedBuilder):
|
|
106 |
license=_LICENSE,
|
107 |
# Citation for the dataset
|
108 |
citation=_CITATION,
|
109 |
-
# creating a template
|
110 |
-
task_templates=[datasets.tasks.ImageClassification(image_column="image", label_column="label")],
|
111 |
)
|
112 |
|
113 |
|
|
|
106 |
license=_LICENSE,
|
107 |
# Citation for the dataset
|
108 |
citation=_CITATION,
|
|
|
|
|
109 |
)
|
110 |
|
111 |
|