Commit ·
51712f3
1
Parent(s): eba50d2
Update EZPass-Dataset.py
Browse files- EZPass-Dataset.py +1 -1
EZPass-Dataset.py
CHANGED
|
@@ -90,6 +90,6 @@ class EZPassTargz(datasets.GeneratorBasedBuilder):
|
|
| 90 |
#extract the text from the filename
|
| 91 |
yield idx,{
|
| 92 |
"image":{"path": filepath,"bytes":image.read()},
|
| 93 |
-
"
|
| 94 |
}
|
| 95 |
idx+=1
|
|
|
|
| 90 |
#extract the text from the filename
|
| 91 |
yield idx,{
|
| 92 |
"image":{"path": filepath,"bytes":image.read()},
|
| 93 |
+
"text": descriptions[idx]
|
| 94 |
}
|
| 95 |
idx+=1
|