根据链接https://cmusphinx.github.io/wiki/tutorialadapt/,成功完成所有早期步骤,直到尝试使用以下命令行选项执行 mk_s2sendump 工具:
mk_s2sendump -pocketsphinx yes -moddeffn en-us-adapt / mdef.txt -mixwfn en-us-adapt / mixture_weights -sendumpfn en-us-adapt / launchump
提供了正确的mixture_weights文件,但遇到了致命异常,如下所示:
FATAL: "senone.c", line 275: en-us-adapt/mixture_weights: #float32 values(13) doesn't match dimensions: 42 x 3 x 128