mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-08-09 01:52:41 +00:00
Fix filter_cuts in compute_fbank_librispeech.py (#993)
This commit is contained in:
parent
6434c8eadc
commit
33578cca48
@ -121,10 +121,10 @@ def compute_fbank_librispeech(
|
|||||||
recordings=m["recordings"],
|
recordings=m["recordings"],
|
||||||
supervisions=m["supervisions"],
|
supervisions=m["supervisions"],
|
||||||
)
|
)
|
||||||
if bpe_model:
|
|
||||||
cut_set = filter_cuts(cut_set, sp)
|
|
||||||
|
|
||||||
if "train" in partition:
|
if "train" in partition:
|
||||||
|
if bpe_model:
|
||||||
|
cut_set = filter_cuts(cut_set, sp)
|
||||||
cut_set = (
|
cut_set = (
|
||||||
cut_set + cut_set.perturb_speed(0.9) + cut_set.perturb_speed(1.1)
|
cut_set + cut_set.perturb_speed(0.9) + cut_set.perturb_speed(1.1)
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user