ProgramComputer commited on
Commit
93a5e75
·
1 Parent(s): 3a0aa23

Update test.py

Browse files
Files changed (1) hide show
  1. test.py +1 -1
test.py CHANGED
@@ -298,7 +298,7 @@ class VoxCeleb(datasets.GeneratorBasedBuilder):
298
  engine="python",
299
  )
300
  for path in paths[conf]:
301
- dataset_path = next(Path(path).iterdir())
302
  raise Exception(dataset_path);
303
  dataset_format = dataset_path.name
304
  for speaker_path in dataset_path.iterdir():
 
298
  engine="python",
299
  )
300
  for path in paths[conf]:
301
+ dataset_path = next(Path(path+'/').iterdir())
302
  raise Exception(dataset_path);
303
  dataset_format = dataset_path.name
304
  for speaker_path in dataset_path.iterdir():