fixed bug
Browse files- ref_seg_ger.py +2 -1
ref_seg_ger.py
CHANGED
@@ -202,7 +202,8 @@ class RefSeg(datasets.GeneratorBasedBuilder):
|
|
202 |
def _generate_examples(self, filepath, split):
|
203 |
# TODO: This method handles input defined in _split_generators to yield (key, example) tuples from the dataset.
|
204 |
# The `key` is for legacy reasons (tfds) and is not important in itself, but must be unique for each example.
|
205 |
-
|
|
|
206 |
paths = glob(filepath + '/' + split + '/*.csv')
|
207 |
key = 0
|
208 |
for f in paths:
|
|
|
202 |
def _generate_examples(self, filepath, split):
|
203 |
# TODO: This method handles input defined in _split_generators to yield (key, example) tuples from the dataset.
|
204 |
# The `key` is for legacy reasons (tfds) and is not important in itself, but must be unique for each example.
|
205 |
+
print(filepath)
|
206 |
+
print(split)
|
207 |
paths = glob(filepath + '/' + split + '/*.csv')
|
208 |
key = 0
|
209 |
for f in paths:
|