khaclinh commited on
Commit
308860f
·
1 Parent(s): 611ea58

Update testdata.py

Browse files
Files changed (1) hide show
  1. testdata.py +2 -1
testdata.py CHANGED
@@ -116,10 +116,11 @@ class TestData(datasets.GeneratorBasedBuilder):
116
 
117
  def _generate_examples(self, split, data_dir, annot_dir):
118
  image_dir = os.path.join(data_dir, "fisheye")
119
- annotation_dir = os.path.join(annot_dir, "annotations")
120
  files = []
121
  faces = []
122
  plates = []
 
123
  for file_type in IMG_EXT:
124
  files.extend(list(Path(image_dir).glob(f'**/*.{file_type}')))
125
 
 
116
 
117
  def _generate_examples(self, split, data_dir, annot_dir):
118
  image_dir = os.path.join(data_dir, "fisheye")
119
+ annotation_dir = os.path.join(annot_dir, "annotations", "fisheye")
120
  files = []
121
  faces = []
122
  plates = []
123
+ print(image_dir)
124
  for file_type in IMG_EXT:
125
  files.extend(list(Path(image_dir).glob(f'**/*.{file_type}')))
126