Youssef Benhachem commited on
Commit
7912593
1 Parent(s): ccb01a2
Files changed (1) hide show
  1. KHATT.py +2 -1
KHATT.py CHANGED
@@ -93,6 +93,7 @@ class KHATT(datasets.GeneratorBasedBuilder):
93
  if path.endswith(".tif"):
94
  if split != "test":
95
  # image filepath format: <FormNo>_<ParagraphNo>_<LineNo>.TIF
 
96
  source = path.split('/')[0]
97
  img_file = file
98
  else:
@@ -110,6 +111,6 @@ class KHATT(datasets.GeneratorBasedBuilder):
110
  yield idx, ex
111
  else:
112
  continue
113
-
114
  idx += 1
115
 
 
93
  if path.endswith(".tif"):
94
  if split != "test":
95
  # image filepath format: <FormNo>_<ParagraphNo>_<LineNo>.TIF
96
+ import ipdb; ipdb.set_trace()
97
  source = path.split('/')[0]
98
  img_file = file
99
  else:
 
111
  yield idx, ex
112
  else:
113
  continue
114
+
115
  idx += 1
116