Update SLR.py
Browse files
SLR.py
CHANGED
|
@@ -117,4 +117,4 @@ class SLR(datasets.GeneratorBasedBuilder):
|
|
| 117 |
bbox=item['bbox']
|
| 118 |
bboxes.append(bbox)
|
| 119 |
|
| 120 |
-
yield guid, {"id": str(guid), "tokens": tokens, "bboxes": bboxes, "ner_tags": ner_tags, "
|
|
|
|
| 117 |
bbox=item['bbox']
|
| 118 |
bboxes.append(bbox)
|
| 119 |
|
| 120 |
+
yield guid, {"id": str(guid), "tokens": tokens, "bboxes": bboxes, "ner_tags": ner_tags, "image": image}
|