Update testdata.py
Browse files- testdata.py +8 -0
testdata.py
CHANGED
@@ -95,6 +95,14 @@ class TestData(datasets.GeneratorBasedBuilder):
|
|
95 |
"annot_dir": data_dir["annot"],
|
96 |
},
|
97 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
98 |
]
|
99 |
|
100 |
def _generate_examples(self, split, data_dir, annot_dir):
|
|
|
95 |
"annot_dir": data_dir["annot"],
|
96 |
},
|
97 |
),
|
98 |
+
datasets.SplitGenerator(
|
99 |
+
name=datasets.Split.TRAIN,
|
100 |
+
gen_kwargs={
|
101 |
+
"split": "normal",
|
102 |
+
"data_dir": data_dir["test"],
|
103 |
+
"annot_dir": data_dir["annot"],
|
104 |
+
},
|
105 |
+
),
|
106 |
]
|
107 |
|
108 |
def _generate_examples(self, split, data_dir, annot_dir):
|