Skip to content

Commit

Permalink
Fix librispeech manifest caching (#1343)
Browse files Browse the repository at this point in the history
fix librispeech manifest caching

Now passes the correct prefix to `manifests_exist`.
  • Loading branch information
haerski authored May 29, 2024
1 parent bbb3fcc commit 26c3911
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lhotse/recipes/librispeech.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def prepare_librispeech(
with ThreadPoolExecutor(num_jobs) as ex:
for part in tqdm(dataset_parts, desc="Dataset parts"):
logging.info(f"Processing LibriSpeech subset: {part}")
if manifests_exist(part=part, output_dir=output_dir):
if manifests_exist(part=part, output_dir=output_dir, prefix="librispeech"):
logging.info(f"LibriSpeech subset: {part} already prepared - skipping.")
continue
recordings = []
Expand Down

0 comments on commit 26c3911

Please sign in to comment.