tencent-ailab / pika

a lightweight speech processing toolkit based on Pytorch and (Py)Kaldi
Apache License 2.0
339 stars 57 forks source link

TypeError: Required argument 'vtln_warp' (pos 3) not found #4

Closed xbsdsongnan closed 3 years ago

xbsdsongnan commented 3 years ago

bash train_transducer_bmuf_otfaug.sh

/utils/compute_global_cmvn.py", line 64, in vtnl_warp=1.0) TypeError: Required argument 'vtln_warp' (pos 3) not found

cweng6 commented 3 years ago

This is due to typos in older version pykaldi, could you try to change 'vtnl_warp' to 'vtln_warp' in these two lines, https://github.com/tencent-ailab/pika/blob/23c4cddef4392bc035207187d3b5653e9a3f083e/utils/compute_global_cmvn.py#L64

https://github.com/tencent-ailab/pika/blob/23c4cddef4392bc035207187d3b5653e9a3f083e/loader/otf_utt_loader.py#L234

xbsdsongnan commented 3 years ago

thank you very much@cweng6