fixed bug
Browse files- ref_seg_ger.py +1 -3
ref_seg_ger.py
CHANGED
@@ -203,9 +203,7 @@ class RefSeg(datasets.GeneratorBasedBuilder):
|
|
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 |
-
paths = glob(filepath + '/*.csv')
|
207 |
-
print(filepath)
|
208 |
-
print(paths)
|
209 |
key = 0
|
210 |
for f in paths:
|
211 |
df = pd.read_csv(f)
|
|
|
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 |
+
paths = glob(filepath + '/' + split + '/*.csv')
|
|
|
|
|
207 |
key = 0
|
208 |
for f in paths:
|
209 |
df = pd.read_csv(f)
|