问题描述
我正在使用 Kaldi 在我自己的数据集上训练声学模型(遵循 Eleanor Chodroff 的 this 教程)。我在 Windows 10 上使用 Cygwin。当我运行应该为 prepare_lang.sh
创建文件的脚本 /data/lang
时,它生成以下错误:
ERROR: GenericRegister::GetEntry: No such file or directory
ERROR: MutableFst::Read: UnkNown FST type "vector" (arc type = "standard"): standard input
未创建这些文件:L.fst,L_disambig.fst,oov.int,oov.txt,topo
命令的完整输出如下:
91767@LAPTOP-E2QH3TON /cygdrive/c/Users/91767/Desktop/kaldi/egs/mycorpus
$ utils/prepare_lang.sh data/local/lang oov data/local/ data/lang
utils/prepare_lang.sh data/local/lang oov data/local/ data/lang
Checking data/local/lang/silence_phones.txt ...
--> reading data/local/lang/silence_phones.txt
--> text seems to be UTF-8 or ASCII,checking whitespaces
--> text contains only allowed whitespaces
--> data/local/lang/silence_phones.txt is OK
Checking data/local/lang/optional_silence.txt ...
--> reading data/local/lang/optional_silence.txt
--> text seems to be UTF-8 or ASCII,checking whitespaces
--> text contains only allowed whitespaces
--> data/local/lang/optional_silence.txt is OK
Checking data/local/lang/nonsilence_phones.txt ...
--> reading data/local/lang/nonsilence_phones.txt
--> text seems to be UTF-8 or ASCII,checking whitespaces
--> text contains only allowed whitespaces
--> data/local/lang/nonsilence_phones.txt is OK
Checking disjoint: silence_phones.txt,nonsilence_phones.txt
--> disjoint property is OK.
Checking data/local/lang/lexicon.txt
--> reading data/local/lang/lexicon.txt
--> text seems to be UTF-8 or ASCII,checking whitespaces
--> text contains only allowed whitespaces
--> data/local/lang/lexicon.txt is OK
Checking data/local/lang/lexiconp.txt
--> reading data/local/lang/lexiconp.txt
--> text seems to be UTF-8 or ASCII,checking whitespaces
--> text contains only allowed whitespaces
--> data/local/lang/lexiconp.txt is OK
Checking lexicon pair data/local/lang/lexicon.txt and data/local/lang/lexiconp.txt
--> lexicon pair data/local/lang/lexicon.txt and data/local/lang/lexiconp.txt match
Checking data/local/lang/extra_questions.txt ...
--> data/local/lang/extra_questions.txt is empty (this is OK)
--> SUCCESS [validating dictionary directory data/local/lang]
ERROR: GenericRegister::GetEntry: No such file or directory
ERROR: MutableFst::Read: UnkNown FST type "vector" (arc type = "standard"): standard input
我遵循了 the same tutorial 中 Cygwin 的标准 Kaldi 安装,kaldi/tools
具有文件夹 openfst-1.7.2
。
我已经在谷歌上搜索了一段时间,但似乎找不到解决方案。我是 Kaldi 的新手,不确定错误的来源,因此我很乐意提供可能相关的任何其他详细信息。有人可以帮我吗?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)