Fix docbank.py
#2
by
illustracer
- opened
- docbank.py +5 -5
docbank.py
CHANGED
|
@@ -151,11 +151,11 @@ class DocBank(datasets.GeneratorBasedBuilder):
|
|
| 151 |
fontname = tts[8]
|
| 152 |
structure = tts[9].strip()
|
| 153 |
|
| 154 |
-
|
| 155 |
-
|
| 156 |
-
|
| 157 |
-
|
| 158 |
-
|
| 159 |
|
| 160 |
# index = str(index)+'_'+str(row)
|
| 161 |
|
|
|
|
| 151 |
fontname = tts[8]
|
| 152 |
structure = tts[9].strip()
|
| 153 |
|
| 154 |
+
words.append(word)
|
| 155 |
+
bboxes.append(bbox)
|
| 156 |
+
rgbs.append(rgb)
|
| 157 |
+
fontnames.append(fontname)
|
| 158 |
+
structures.append(structure)
|
| 159 |
|
| 160 |
# index = str(index)+'_'+str(row)
|
| 161 |
|