Bugfix: `medium` and `large` have 0 rows
#1
by
eveland
- opened
- libri_light.py +1 -1
libri_light.py
CHANGED
@@ -145,7 +145,7 @@ class LibriLight(datasets.GeneratorBasedBuilder):
|
|
145 |
]
|
146 |
|
147 |
def _generate_examples(self, archive_path):
|
148 |
-
paths = glob.glob(os.path.join(archive_path,
|
149 |
for key, path in enumerate(paths):
|
150 |
path_split = path.split("/")
|
151 |
id_ = path_split[-1].replace(".flac", "")
|
|
|
145 |
]
|
146 |
|
147 |
def _generate_examples(self, archive_path):
|
148 |
+
paths = glob.glob(os.path.join(archive_path, self.config.name, "**", "**", "*.flac"))
|
149 |
for key, path in enumerate(paths):
|
150 |
path_split = path.split("/")
|
151 |
id_ = path_split[-1].replace(".flac", "")
|