khaclinh commited on
Commit
48b1d94
·
1 Parent(s): 07cb239

Update testdata.py

Browse files
Files changed (1) hide show
  1. testdata.py +2 -2
testdata.py CHANGED
@@ -128,8 +128,8 @@ class TestData(datasets.GeneratorBasedBuilder):
128
  files.extend(list(Path(image_dir).glob(f'**/*.{file_type}')))
129
 
130
  for image_path in tqdm(files):
131
- img_relative_path = image_path.relative_to(image_dir)
132
- gt_pah = (Path(annotation_dir) / img_relative_path).with_suffix('.txt')
133
 
134
  #annotation = parse_annotation(gt_pah)
135
 
 
128
  files.extend(list(Path(image_dir).glob(f'**/*.{file_type}')))
129
 
130
  for image_path in tqdm(files):
131
+ # img_relative_path = image_path.relative_to(image_dir)
132
+ #gt_pah = (Path(annotation_dir) / img_relative_path).with_suffix('.txt')
133
 
134
  #annotation = parse_annotation(gt_pah)
135