Update AASL.py
Browse files
AASL.py
CHANGED
@@ -69,8 +69,8 @@ class AASL(datasets.GeneratorBasedBuilder):
|
|
69 |
print(images)
|
70 |
|
71 |
for file_path, file_obj in images:
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
|
|
69 |
print(images)
|
70 |
|
71 |
for file_path, file_obj in images:
|
72 |
+
if file_path.startswith("images/"):
|
73 |
+
yield file_path, {
|
74 |
+
"image": {"path": file_path, "bytes": file_obj.read()},
|
75 |
+
"label": 'x',
|
76 |
+
}
|