ProgramComputer commited on
Commit
6599cea
·
1 Parent(s): ad29878

Update test.py

Browse files
Files changed (1) hide show
  1. test.py +1 -1
test.py CHANGED
@@ -302,7 +302,7 @@ 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
- dataset_path = next(Path(path).iterdir())
306
  dataset_format = dataset_path.name
307
  for speaker_path in dataset_path.iterdir():
308
  speaker = speaker_path.name
 
302
  for path in paths[conf]:
303
  #raise Exception([x for x in Path(path).glob('**/*')])
304
  #raise Exception(paths)
305
+ dataset_path = next(next(Path(path).iterdir()))
306
  dataset_format = dataset_path.name
307
  for speaker_path in dataset_path.iterdir():
308
  speaker = speaker_path.name