wintercoming6
commited on
Commit
•
0802d82
1
Parent(s):
7a52168
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 |
}
|