Commit
·
9e74e3b
1
Parent(s):
4db3dae
Update test.py
Browse files
test.py
CHANGED
@@ -303,9 +303,9 @@ class VoxCeleb(datasets.GeneratorBasedBuilder):
|
|
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(
|
|
|
307 |
dataset_path = next(Path(path).iterdir())
|
308 |
-
raise Exception(dataset_path)
|
309 |
#dataset_format = dataset_path.name
|
310 |
for speaker_path in dataset_path.iterdir():
|
311 |
speaker = speaker_path.name
|
|
|
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 |
+
#raise Exception(os.listdir(path))
|
308 |
dataset_path = next(Path(path).iterdir())
|
|
|
309 |
#dataset_format = dataset_path.name
|
310 |
for speaker_path in dataset_path.iterdir():
|
311 |
speaker = speaker_path.name
|