ProgramComputer commited on
Commit
556181c
·
1 Parent(s): 562761d

Update test.py

Browse files
Files changed (1) hide show
  1. test.py +4 -1
test.py CHANGED
@@ -300,7 +300,10 @@ class VoxCeleb(datasets.GeneratorBasedBuilder):
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
 
300
  )
301
 
302
  for path in paths[conf]:
303
+ paths = ""
304
+ for child in Path(path).iterdir():
305
+ paths += " " + child.name
306
+ dataset_path = next(Path(path).iterdir())
307
  dataset_format = dataset_path.name
308
  for speaker_path in dataset_path.iterdir():
309
  speaker = speaker_path.name