Commit
·
bf5272c
1
Parent(s):
0b5401b
Update test.py
Browse files
test.py
CHANGED
@@ -302,7 +302,9 @@ class VoxCeleb(datasets.GeneratorBasedBuilder):
|
|
302 |
for path in paths[conf]:
|
303 |
#raise Exception([x for x in Path(path).glob('**/*')])
|
304 |
#raise Exception(paths)
|
305 |
-
|
|
|
|
|
306 |
raise Exception([x for x in dataset_path])
|
307 |
#dataset_format = dataset_path.name
|
308 |
for speaker_path in dataset_path.iterdir():
|
|
|
302 |
for path in paths[conf]:
|
303 |
#raise Exception([x for x in Path(path).glob('**/*')])
|
304 |
#raise Exception(paths)
|
305 |
+
subdirs = [x[0] for x in os.walk(path)]
|
306 |
+
raise Exception(subdirs)
|
307 |
+
dataset_path = next(Path(path).iterdir())
|
308 |
raise Exception([x for x in dataset_path])
|
309 |
#dataset_format = dataset_path.name
|
310 |
for speaker_path in dataset_path.iterdir():
|