Youssef Benhachem commited on
Commit
c0c7015
1 Parent(s): 997f162
Files changed (1) hide show
  1. KHATT.py +2 -2
KHATT.py CHANGED
@@ -89,10 +89,10 @@ class KHATT(datasets.GeneratorBasedBuilder):
89
  """Yields examples."""
90
  idx = 0
91
  for archive in archives:
92
- import ipdb; ipdb.set_trace()
93
  for path, file in archive:
94
  # If we have an image
95
- if path.endswith(".TIF"):
96
  if split != "test":
97
  # image filepath format: <FormNo>_<ParagraphNo>_<LineNo>.TIF
98
  root, _ = os.path.splitext(path)
 
89
  """Yields examples."""
90
  idx = 0
91
  for archive in archives:
92
+ #import ipdb; ipdb.set_trace()
93
  for path, file in archive:
94
  # If we have an image
95
+ if path.endswith(".tif"):
96
  if split != "test":
97
  # image filepath format: <FormNo>_<ParagraphNo>_<LineNo>.TIF
98
  root, _ = os.path.splitext(path)