Terminal 在Ubuntu 18.04命令行中运行julius.jconf时出错

Terminal 在Ubuntu 18.04命令行中运行julius.jconf时出错,terminal,ubuntu-18.04,julius-speech,Terminal,Ubuntu 18.04,Julius Speech,我已经根据julius上的快速运行说明安装了julius,但得到的结果好坏参半,从未运行过。然而,当运行中建议的快速启动时,我已经能够让程序运行了 使用用于识别官方julius演示中包含的音频文件的命令,../julius/julius/julius-C mic.jconf-dnncof dnn.jconf-input mic,我得到以下错误: STAT: include config: julius.jconf Stat: para: parsing HTK Config file: wav_

我已经根据julius上的快速运行说明安装了julius,但得到的结果好坏参半,从未运行过。然而,当运行中建议的快速启动时,我已经能够让程序运行了

使用用于识别官方julius演示中包含的音频文件的命令,../julius/julius/julius-C mic.jconf-dnncof 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演示创建的目录中将其修改为julius-input mozilla.wav-C dnn.jconf,但会转储错误消息Segmentation fault core


很明显,从麦克风接收音频没有问题,但我不确定在julius speech quick run中我错在哪里。任何建议都将不胜感激

问题在于我不了解如何修改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
然后它将完全按照Quickstart的布局工作。见朱利叶斯回购协议