Update testdata.py
Browse files- 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 |
|