sheikh commited on
Commit
50c8a1a
·
1 Parent(s): 795832b

Update FCD_lmv2.py

Browse files
Files changed (1) hide show
  1. FCD_lmv2.py +1 -0
FCD_lmv2.py CHANGED
@@ -127,5 +127,6 @@ class FCD(datasets.GeneratorBasedBuilder):
127
  tokens.append(w["text"])
128
  ner_tags.append("I-" + label.upper())
129
  bboxes.append(normalize_bbox(w["box"], size))
 
130
 
131
  yield guid, {"id": str(guid), "tokens": tokens, "bboxes": bboxes, "ner_tags": ner_tags, "image": image}
 
127
  tokens.append(w["text"])
128
  ner_tags.append("I-" + label.upper())
129
  bboxes.append(normalize_bbox(w["box"], size))
130
+
131
 
132
  yield guid, {"id": str(guid), "tokens": tokens, "bboxes": bboxes, "ner_tags": ner_tags, "image": image}