Update AASL.py
Browse files
AASL.py
CHANGED
@@ -69,9 +69,8 @@ class AASL(datasets.GeneratorBasedBuilder):
|
|
69 |
if two_exp[class_name]>2:
|
70 |
continue
|
71 |
else:
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
}
|
|
|
69 |
if two_exp[class_name]>2:
|
70 |
continue
|
71 |
else:
|
72 |
+
with open(file, "rb"):
|
73 |
+
yield str(i), {
|
74 |
+
"image": file,
|
75 |
+
"label": class_name,
|
76 |
+
}
|
|