ProgramComputer commited on
Commit
f686341
·
1 Parent(s): 80b3fcd

Update test.py

Browse files
Files changed (1) hide show
  1. test.py +3 -1
test.py CHANGED
@@ -297,8 +297,10 @@ class VoxCeleb(datasets.GeneratorBasedBuilder):
297
  index_col=0,
298
  engine="python",
299
  )
 
 
300
  for path in paths[conf]:
301
- dataset_path = next(Path(path+'/dev/').iterdir())
302
  dataset_format = dataset_path.name
303
  for speaker_path in dataset_path.iterdir():
304
  speaker = speaker_path.name
 
297
  index_col=0,
298
  engine="python",
299
  )
300
+ for root, dirs, files in os.walk(path):
301
+ raise Exception(files)
302
  for path in paths[conf]:
303
+ dataset_path = next(Path(path).iterdir())
304
  dataset_format = dataset_path.name
305
  for speaker_path in dataset_path.iterdir():
306
  speaker = speaker_path.name