1

我已经根据他们git repo上的快速运行说明安装了 julius ,但得到的结果是混合的,永远不会运行。但是,在运行此线程中建议的快速入门时,我已经能够让程序运行。

使用旨在识别“官方” julius 演示中包含的音频文件的命令../julius/julius/julius -C mic.jconf -dnnconf dnn.jconf -input mic,我收到以下错误:

STAT: include config: julius.jconf
Stat: para: parsing HTK Config file: wav_config
Warning: para: "SOURCEFORMAT" ignored (not supported, or irrelevant)
Warning: para: TARGETKIND skipped (will be determined by AM header)
Stat: para: TARGETRATE=100000.0
Warning: para: "SAVECOMPRESSED" ignored (not supported, or irrelevant)
Warning: para: "SAVEWITHCRC" ignored (not supported, or irrelevant)
Stat: para: WINDOWSIZE=250000.0
Stat: para: USEHAMMING=T
Stat: para: PREEMCOEF=0.97
Stat: para: NUMCHANS=26
Stat: para: CEPLIFTER=22
Warning: para: NUMCEPS skipped (will be determined by AM header)
Warning: no SOURCERATE found
Warning: assume source waveform sample rate to 625 (16kHz)
ERROR: m_options: wrong argument: "-dnnconf"
Try `-help' for more information.

快速入门在麦克风上运行julius -input mic -C dnn.jconf,我已将其修改到julius -input mozilla.wav -C dnn.jconf为 julius 演示创建的目录中,但收到错误消息Segmentation fault (core dumped)

很明显,从麦克风接收音频没有问题,但我不确定在 julius-speech 快速运行中我哪里出错了。我们欢迎所有的建议!

4

1 回答 1

-1

问题是我对如何修改dnn.jconf文件缺乏了解。从 4.5 开始,dnn.jconf应为:

feature_type MFCC_E_D_A_Z
feature_options -htkconf wav_config -cvn -cmnload ENVR-v5.3.norm -cvnstatic
num_threads 1
feature_len 48
context_len 11
input_nodes 528
output_nodes 7461
hidden_nodes 1536
hidden_layers 5
W1 ENVR-v5.3.layer2_weight.npy
W2 ENVR-v5.3.layer3_weight.npy
W3 ENVR-v5.3.layer4_weight.npy
W4 ENVR-v5.3.layer5_weight.npy
W5 ENVR-v5.3.layer6_weight.npy
B1 ENVR-v5.3.layer2_bias.npy
B2 ENVR-v5.3.layer3_bias.npy
B3 ENVR-v5.3.layer4_bias.npy
B4 ENVR-v5.3.layer5_bias.npy
B5 ENVR-v5.3.layer6_bias.npy
output_W ENVR-v5.3.layerout_weight.npy
output_B ENVR-v5.3.layerout_bias.npy
state_prior_factor 1.0
state_prior ENVR-v5.3.prior
state_prior_log10nize false

然后它将完全按照快速入门的说明工作。请参阅julius repo 中的这个已关闭问题

于 2019-08-20T19:38:08.380 回答