Update testdata.py
Browse files- testdata.py +2 -0
testdata.py
CHANGED
@@ -105,6 +105,8 @@ class TestData(datasets.GeneratorBasedBuilder):
|
|
105 |
for i_file in glob(os.path.join(image_dir, "*.png")):
|
106 |
plates = []
|
107 |
faces = []
|
|
|
|
|
108 |
yield idx, {"image": i_file, "faces": faces, "plates": plates}
|
109 |
|
110 |
idx += 1
|
|
|
105 |
for i_file in glob(os.path.join(image_dir, "*.png")):
|
106 |
plates = []
|
107 |
faces = []
|
108 |
+
plates.append([1,2,3,4])
|
109 |
+
faces.append([1,2,3,4])
|
110 |
yield idx, {"image": i_file, "faces": faces, "plates": plates}
|
111 |
|
112 |
idx += 1
|