Tylersuard
commited on
Commit
·
3ebbc67
1
Parent(s):
5612586
Update PathfinderX2.py
Browse files- PathfinderX2.py +1 -0
PathfinderX2.py
CHANGED
@@ -105,6 +105,7 @@ class PathfinderX2(datasets.GeneratorBasedBuilder):
|
|
105 |
|
106 |
def _generate_examples(self, data, split):
|
107 |
if split == "testing":
|
|
|
108 |
for idx, (path, file) in enumerate(data):
|
109 |
if path.endswith(".png"):
|
110 |
yield idx, {
|
|
|
105 |
|
106 |
def _generate_examples(self, data, split):
|
107 |
if split == "testing":
|
108 |
+
images, annotations = data
|
109 |
for idx, (path, file) in enumerate(data):
|
110 |
if path.endswith(".png"):
|
111 |
yield idx, {
|