Update food101.py
Browse files- food101.py +1 -1
food101.py
CHANGED
@@ -157,7 +157,7 @@ class Food101(datasets.GeneratorBasedBuilder):
|
|
157 |
description=_DESCRIPTION,
|
158 |
features=datasets.Features(features_dict),
|
159 |
homepage="https://www.vision.ee.ethz.ch/datasets_extra/food-101/",
|
160 |
-
task_templates=[ImageClassification(image_file_path_column="
|
161 |
citation=_CITATION,
|
162 |
)
|
163 |
|
|
|
157 |
description=_DESCRIPTION,
|
158 |
features=datasets.Features(features_dict),
|
159 |
homepage="https://www.vision.ee.ethz.ch/datasets_extra/food-101/",
|
160 |
+
task_templates=[ImageClassification(image_file_path_column="image", label_column="label", labels=sorted(tuple(_NAMES)))],
|
161 |
citation=_CITATION,
|
162 |
)
|
163 |
|