Splend1dchan commited on
Commit
deaefb5
1 Parent(s): 66ef9d0

Update librispeech_asr_individual.py

Browse files
Files changed (1) hide show
  1. librispeech_asr_individual.py +6 -6
librispeech_asr_individual.py CHANGED
@@ -271,8 +271,8 @@ class LibrispeechASR(datasets.GeneratorBasedBuilder):
271
  datasets.SplitGenerator(
272
  name="validation.other",
273
  gen_kwargs={
274
- "local_extracted_archive": local_extracted_archive.get("dev.clean"),
275
- "files": dl_manager.iter_archive(archive_path["dev.clean"]),
276
  },
277
  ),
278
  ]
@@ -284,8 +284,8 @@ class LibrispeechASR(datasets.GeneratorBasedBuilder):
284
  datasets.SplitGenerator(
285
  name="test.clean",
286
  gen_kwargs={
287
- "local_extracted_archive": local_extracted_archive.get("dev.clean"),
288
- "files": dl_manager.iter_archive(archive_path["dev.clean"]),
289
  },
290
  ),
291
  ]
@@ -296,8 +296,8 @@ class LibrispeechASR(datasets.GeneratorBasedBuilder):
296
  datasets.SplitGenerator(
297
  name="test.other",
298
  gen_kwargs={
299
- "local_extracted_archive": local_extracted_archive.get("dev.clean"),
300
- "files": dl_manager.iter_archive(archive_path["dev.clean"]),
301
  },
302
  ),
303
  ]
 
271
  datasets.SplitGenerator(
272
  name="validation.other",
273
  gen_kwargs={
274
+ "local_extracted_archive": local_extracted_archive.get("dev.other"),
275
+ "files": dl_manager.iter_archive(archive_path["dev.other"]),
276
  },
277
  ),
278
  ]
 
284
  datasets.SplitGenerator(
285
  name="test.clean",
286
  gen_kwargs={
287
+ "local_extracted_archive": local_extracted_archive.get("test.clean"),
288
+ "files": dl_manager.iter_archive(archive_path["test.clean"]),
289
  },
290
  ),
291
  ]
 
296
  datasets.SplitGenerator(
297
  name="test.other",
298
  gen_kwargs={
299
+ "local_extracted_archive": local_extracted_archive.get("test.other"),
300
+ "files": dl_manager.iter_archive(archive_path["test.other"]),
301
  },
302
  ),
303
  ]