ProgramComputer commited on
Commit
b40a87d
·
1 Parent(s): 0bd855b

Update test.py

Browse files
Files changed (1) hide show
  1. test.py +5 -1
test.py CHANGED
@@ -300,7 +300,11 @@ class VoxCeleb(datasets.GeneratorBasedBuilder):
300
  )
301
 
302
  for path in paths[conf]:
303
- raise Exception(os.walk(path))
 
 
 
 
304
  dataset_path = next(Path(path).iterdir())
305
  dataset_format = dataset_path.name
306
  for speaker_path in dataset_path.iterdir():
 
300
  )
301
 
302
  for path in paths[conf]:
303
+ for root, dirs, files in os.walk(".", topdown=False):
304
+ raise Exception(files)
305
+ for name in dirs:
306
+ print(os.path.join(root, name))
307
+
308
  dataset_path = next(Path(path).iterdir())
309
  dataset_format = dataset_path.name
310
  for speaker_path in dataset_path.iterdir():