Skip to content

Commit

Permalink
small fix for train_raw & train_refined
Browse files Browse the repository at this point in the history
  • Loading branch information
yfyeung committed Jun 28, 2024
1 parent 1d721b4 commit 83aef17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lhotse/recipes/gigaspeech2.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def _prepare_subset(
:return: the RecodingSet and SupervisionSet for train and valid.
"""
lang_dir = Path(lang_dir)
part_dir = lang_dir / part
part_dir = lang_dir / part.replace("_raw", "").replace("_refined", "")
tsv_path = lang_dir / f"{part}.tsv"

audio_infos = []
Expand Down

0 comments on commit 83aef17

Please sign in to comment.