sheikh commited on
Commit
c58182d
·
1 Parent(s): 37d53ca

Update FCD_lmv2.py

Browse files
Files changed (1) hide show
  1. FCD_lmv2.py +1 -1
FCD_lmv2.py CHANGED
@@ -110,7 +110,7 @@ class FCD(datasets.GeneratorBasedBuilder):
110
  image_path = image_path.replace("json", "jpg")
111
  image, size = load_image(image_path)
112
  for item in data:
113
- words, label = item[0][5], item[0][4]
114
  #words = [w for w in words if w["text"].strip() != ""]
115
 
116
  if len(words) == 0:
 
110
  image_path = image_path.replace("json", "jpg")
111
  image, size = load_image(image_path)
112
  for item in data:
113
+ words, label = ["hello"], ["borrower"]
114
  #words = [w for w in words if w["text"].strip() != ""]
115
 
116
  if len(words) == 0: