微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

训练 sphinxtrain 时出错

如何解决训练 sphinxtrain 时出错

我正在尝试为一种语言实现 sphinx 模型。但是我在训练系统时遇到了一些错误

cmd中使用以下命令训练sphinx

def parentheses_helper(open,close,word,lst):
    """ get 2 equal integers and return all the combination of balanced parantheses """
    if open == 0 and close == 0:
        lst.append(word) 
        print(lst)
    if open > close:
        return
    if open > 0:
        parentheses_helper(open - 1,word + '(',lst)
    if close > 0:
        parentheses_helper(open,close - 1,word + ')',lst)


def parentheses(n):
    parentheses_helper(n,n,'',[])

但是,我收到以下错误

python ../sphinxtrain/scripts/sphinxtrain run

Here文件 slave.pl:

还有这些错误

Can't open D:/sphinx/other/result/other-1-1.match
word_align.pl Failed with error code -1 at D:/sphinx/sphinxtrain/scripts/decode/slave.pl line 173.

INFO: feat.c(715): Initializing feature stream to type: '1s_c_d_dd',ceplen=13,CMN='batch',VARnorM='no',AGC='none' ERROR: "acmod.c",line 79: Folder 'D:/sphinx/other/model_parameters/other.ci_cont' does not contain acoustic model deFinition 'mdef' FATAL: "batch.c",line 913: PocketSphinx decoder init Failed 也是空白。

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。