Commit ·
44e274f
1
Parent(s): bbdd86b
Update EZPass-Dataset.py
Browse files- EZPass-Dataset.py +1 -1
EZPass-Dataset.py
CHANGED
|
@@ -96,8 +96,8 @@ class EZPassTargz(datasets.GeneratorBasedBuilder):
|
|
| 96 |
for filepath, image in images:
|
| 97 |
#extract the text from the filename
|
| 98 |
yield idx,{
|
| 99 |
-
"text": descriptions[idx],
|
| 100 |
"image":{"filepath": filepath,"image":image.read()},
|
|
|
|
| 101 |
|
| 102 |
}
|
| 103 |
idx+=1
|
|
|
|
| 96 |
for filepath, image in images:
|
| 97 |
#extract the text from the filename
|
| 98 |
yield idx,{
|
|
|
|
| 99 |
"image":{"filepath": filepath,"image":image.read()},
|
| 100 |
+
"text": descriptions[idx],
|
| 101 |
|
| 102 |
}
|
| 103 |
idx+=1
|