Datasets:
Update durhamtrees.py
Browse files- durhamtrees.py +1 -1
durhamtrees.py
CHANGED
@@ -148,7 +148,7 @@ class DurhamTrees(GeneratorBasedBuilder):
|
|
148 |
|
149 |
|
150 |
|
151 |
-
def _generate_examples(self, class1_data_file, class1_geojson_file, class2_data_file,
|
152 |
class1_examples = list(self._generate_examples_from_class1(class1_data_file, class1_geojson_file))
|
153 |
class2_examples = list(self._generate_examples_from_class2(class2_data_file))
|
154 |
|
|
|
148 |
|
149 |
|
150 |
|
151 |
+
def _generate_examples(self, class1_data_file, class1_geojson_file, class2_data_file, split):
|
152 |
class1_examples = list(self._generate_examples_from_class1(class1_data_file, class1_geojson_file))
|
153 |
class2_examples = list(self._generate_examples_from_class2(class2_data_file))
|
154 |
|