Update test3.py
Browse files
test3.py
CHANGED
|
@@ -51,7 +51,7 @@ class Artwork(datasets.GeneratorBasedBuilder):
|
|
| 51 |
features=datasets.Features(
|
| 52 |
{
|
| 53 |
"label": datasets.features.ClassLabel(names=[0,1,2,3,4,5,6]),
|
| 54 |
-
"image_data": bytes
|
| 55 |
}
|
| 56 |
),
|
| 57 |
supervised_keys=("label","image_data"),
|
|
|
|
| 51 |
features=datasets.Features(
|
| 52 |
{
|
| 53 |
"label": datasets.features.ClassLabel(names=[0,1,2,3,4,5,6]),
|
| 54 |
+
"image_data": datasets.Value("bytes"),
|
| 55 |
}
|
| 56 |
),
|
| 57 |
supervised_keys=("label","image_data"),
|