Update testdata.py
Browse files- testdata.py +3 -0
testdata.py
CHANGED
|
@@ -103,6 +103,9 @@ class TestData(datasets.GeneratorBasedBuilder):
|
|
| 103 |
|
| 104 |
idx = 0
|
| 105 |
for gt_file in glob(os.path.join(annotation_dir, "*.txt")):
|
|
|
|
|
|
|
|
|
|
| 106 |
gt_relative_file = os.path.relpath(gt_file, annotation_dir)
|
| 107 |
img_relative_path = gt_relative_file.replace(".txt", ".png")
|
| 108 |
|
|
|
|
| 103 |
|
| 104 |
idx = 0
|
| 105 |
for gt_file in glob(os.path.join(annotation_dir, "*.txt")):
|
| 106 |
+
plates = []
|
| 107 |
+
f faces = []
|
| 108 |
+
|
| 109 |
gt_relative_file = os.path.relpath(gt_file, annotation_dir)
|
| 110 |
img_relative_path = gt_relative_file.replace(".txt", ".png")
|
| 111 |
|