sheikh commited on
Commit
bc87bcc
·
1 Parent(s): a258d1a

Update SLR.py

Browse files
Files changed (1) hide show
  1. SLR.py +1 -1
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, "image_path": image_path}
 
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}