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

Update test.py

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