khaclinh commited on
Commit
c6c8b91
·
1 Parent(s): a97de87

Update testdata.py

Browse files
Files changed (1) hide show
  1. testdata.py +1 -1
testdata.py CHANGED
@@ -105,7 +105,7 @@ class TestData(datasets.GeneratorBasedBuilder):
105
 
106
  for img_file in glob(os.path.join(image_dir, "*.png")):
107
 
108
- d = { image_dir: annot_dir, "png": "txt"}
109
  gt_path = img_file
110
  for i, j in d.items():
111
  gt_path = gt_path.replace(i, j)
 
105
 
106
  for img_file in glob(os.path.join(image_dir, "*.png")):
107
 
108
+ d = { image_dir: annotation_dir, "png": "txt"}
109
  gt_path = img_file
110
  for i, j in d.items():
111
  gt_path = gt_path.replace(i, j)