Commit
·
07e136e
1
Parent(s):
4fb3fc3
test
Browse files- libri_light.py +2 -0
libri_light.py
CHANGED
|
@@ -146,6 +146,8 @@ class LibriLight(datasets.GeneratorBasedBuilder):
|
|
| 146 |
|
| 147 |
def _generate_examples(self, archive_path):
|
| 148 |
paths = glob.glob(os.path.join(archive_path, "**", "**", "*.flac"))
|
|
|
|
|
|
|
| 149 |
for key, path in enumerate(paths):
|
| 150 |
path_split = path.split("/")
|
| 151 |
id_ = path_split[-1].replace(".flac", "")
|
|
|
|
| 146 |
|
| 147 |
def _generate_examples(self, archive_path):
|
| 148 |
paths = glob.glob(os.path.join(archive_path, "**", "**", "*.flac"))
|
| 149 |
+
print("LEN PATHS: ", len(paths))
|
| 150 |
+
print(paths[0])
|
| 151 |
for key, path in enumerate(paths):
|
| 152 |
path_split = path.split("/")
|
| 153 |
id_ = path_split[-1].replace(".flac", "")
|