Commit
·
8aa7be6
1
Parent(s):
c857601
Update EZPass-Dataset.py
Browse files- EZPass-Dataset.py +1 -1
EZPass-Dataset.py
CHANGED
|
@@ -89,7 +89,7 @@ class EZPassTargz(datasets.GeneratorBasedBuilder):
|
|
| 89 |
for filepath, image in images:
|
| 90 |
#extract the text from the filename
|
| 91 |
yield idx,{
|
| 92 |
-
"text": descriptions[idx]
|
| 93 |
"image":{"path": filepath,"bytes":image.read()}
|
| 94 |
|
| 95 |
}
|
|
|
|
| 89 |
for filepath, image in images:
|
| 90 |
#extract the text from the filename
|
| 91 |
yield idx,{
|
| 92 |
+
"text": descriptions[idx],
|
| 93 |
"image":{"path": filepath,"bytes":image.read()}
|
| 94 |
|
| 95 |
}
|