ProgramComputer commited on
Commit
ff38499
1 Parent(s): 603988d

Update test.py

Browse files
Files changed (1) hide show
  1. test.py +2 -2
test.py CHANGED
@@ -257,7 +257,7 @@ class VoxCeleb(datasets.GeneratorBasedBuilder):
257
  )
258
  )
259
 
260
- mapped_paths = dl_manager.download(
261
  dict(
262
  (
263
  placeholder_key,
@@ -300,7 +300,7 @@ class VoxCeleb(datasets.GeneratorBasedBuilder):
300
  )
301
 
302
  for path in paths[conf]:
303
- raise Exception(os.path.isfile(path))
304
  dataset_path = next(Path(path).iterdir())
305
  dataset_format = dataset_path.name
306
  for speaker_path in dataset_path.iterdir():
 
257
  )
258
  )
259
 
260
+ mapped_paths = dl_manager.download_and_extract(
261
  dict(
262
  (
263
  placeholder_key,
 
300
  )
301
 
302
  for path in paths[conf]:
303
+ raise Exception(os.path.isdir(path))
304
  dataset_path = next(Path(path).iterdir())
305
  dataset_format = dataset_path.name
306
  for speaker_path in dataset_path.iterdir():