Update test3.py
Browse files
test3.py
CHANGED
|
@@ -55,7 +55,7 @@ class Artwork(datasets.GeneratorBasedBuilder):
|
|
| 55 |
"image_data": bytes
|
| 56 |
}
|
| 57 |
),
|
| 58 |
-
supervised_keys=("label","image_data"),
|
| 59 |
homepage=_HOMEPAGE,
|
| 60 |
citation=_CITATION,
|
| 61 |
task_templates=[ImageClassification(image_column="image_data", label_column="label")],
|
|
|
|
| 55 |
"image_data": bytes
|
| 56 |
}
|
| 57 |
),
|
| 58 |
+
supervised_keys=("file_name", "label","image_data"),
|
| 59 |
homepage=_HOMEPAGE,
|
| 60 |
citation=_CITATION,
|
| 61 |
task_templates=[ImageClassification(image_column="image_data", label_column="label")],
|