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