Update testdata.py
Browse files- testdata.py +2 -0
testdata.py
CHANGED
|
@@ -109,6 +109,8 @@ class TestData(datasets.GeneratorBasedBuilder):
|
|
| 109 |
for image_path in tqdm(files):
|
| 110 |
faces = []
|
| 111 |
plates = []
|
|
|
|
|
|
|
| 112 |
yield idx, {"image": str(image_path), "faces": faces, "plates": plates}
|
| 113 |
|
| 114 |
idx += 1
|
|
|
|
| 109 |
for image_path in tqdm(files):
|
| 110 |
faces = []
|
| 111 |
plates = []
|
| 112 |
+
faces.append([1,2,3,4])
|
| 113 |
+
plates.append([1,2,3,4])
|
| 114 |
yield idx, {"image": str(image_path), "faces": faces, "plates": plates}
|
| 115 |
|
| 116 |
idx += 1
|