Update testdata.py
Browse files- testdata.py +2 -1
testdata.py
CHANGED
|
@@ -103,10 +103,11 @@ class TestData(datasets.GeneratorBasedBuilder):
|
|
| 103 |
image_dir = os.path.join(data_dir, "fisheye")
|
| 104 |
annotation_dir = os.path.join(annot_dir, "annotations", "fisheye")
|
| 105 |
files = []
|
| 106 |
-
|
| 107 |
idx = 0
|
| 108 |
#datasets.logging.info(image_dir)
|
| 109 |
for file in glob(os.path.join(image_dir, "*.png")):
|
|
|
|
| 110 |
objects.append({
|
| 111 |
'faces': [1.0, 2.0, 3.0, 4.0]
|
| 112 |
})
|
|
|
|
| 103 |
image_dir = os.path.join(data_dir, "fisheye")
|
| 104 |
annotation_dir = os.path.join(annot_dir, "annotations", "fisheye")
|
| 105 |
files = []
|
| 106 |
+
|
| 107 |
idx = 0
|
| 108 |
#datasets.logging.info(image_dir)
|
| 109 |
for file in glob(os.path.join(image_dir, "*.png")):
|
| 110 |
+
objects = []
|
| 111 |
objects.append({
|
| 112 |
'faces': [1.0, 2.0, 3.0, 4.0]
|
| 113 |
})
|