ProgramComputer commited on
Commit
562761d
·
1 Parent(s): 4171a0b

Update test.py

Browse files
Files changed (1) hide show
  1. test.py +1 -6
test.py CHANGED
@@ -300,12 +300,7 @@ class VoxCeleb(datasets.GeneratorBasedBuilder):
300
  )
301
 
302
  for path in paths[conf]:
303
- for root, dirs, files in os.walk(path, topdown=False):
304
- raise Exception(dirs)
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():
311
  speaker = speaker_path.name
 
300
  )
301
 
302
  for path in paths[conf]:
303
+ dataset_path = Path(path).iterdir()
 
 
 
 
 
304
  dataset_format = dataset_path.name
305
  for speaker_path in dataset_path.iterdir():
306
  speaker = speaker_path.name