Update test3.py
Browse files
test3.py
CHANGED
|
@@ -85,6 +85,6 @@ class Artwork(datasets.GeneratorBasedBuilder):
|
|
| 85 |
print(path.image_data)
|
| 86 |
print(type(path.image_data))
|
| 87 |
yield {
|
| 88 |
-
"label": classes[
|
| 89 |
"image_data": path.image_data,
|
| 90 |
}
|
|
|
|
| 85 |
print(path.image_data)
|
| 86 |
print(type(path.image_data))
|
| 87 |
yield {
|
| 88 |
+
"label": classes[(path.label)],
|
| 89 |
"image_data": path.image_data,
|
| 90 |
}
|