bluebird138
bluebird138
我这边新安装的Ubuntu也遇到以上的问题。 sudo apt-get install python-pip pip install paddlepaddle python housing.py 提示:非法指令 (核心已转储) lenovoG460笔记本,Ubuntu 16.04.3 LTS, Python 2.7
DeepSpeech网页下载 Mandarin LM Small 失败 网页:https://github.com/PaddlePaddle/DeepSpeech 下载连接:http://cloud.dlnel.org/filepub/?uuid=d21861e4-4ed6-45bb-ad8e-ae417a43195e DeepSpeech的 DeepSpeech/models/lm/download_lm_ch.sh 里面下载 zh_giga.no_cna_cmn.prune01244.klm 失败 URL=http://cloud.dlnel.org/filepub/?uuid=d21861e4-4ed6-45bb-ad8e-ae417a43195e MD5="29e02312deb2e59b3c8686c7966d4fe3" TARGET=./zh_giga.no_cna_cmn.prune01244.klm 以上都提示文件不存在,可以使用火狐浏览器59.01测试。
我想做DeepSpeech识别中文语音转文本测试,选用了DeepSpeech的 aishell例子,使用百度DeepSpeech事先已训练好的中文语言模型zh_giga.no_cna_cmn.prune01244.klm 做测试(即不再重新训练模型),在运行 DeepSpeech/examples/aishell/run_infer.sh 脚本时,其中有两个参数 --model_path='checkpoints/aishell/params.latest.tar.gz' \ --lang_model_path='models/lm/zh_giga.no_cna_cmn.prune01244.klm' \ 貌似 zh_giga.no_cna_cmn.prune01244.klm 没找到匹配的 params.latest.tar.gz 包, run_data.sh 脚本也下载不到,若不运行run_train.sh训练,params.latest.tar.gz 包从哪下载呢?
运行~/DeepSpeech/example/aishell/run_infer_golden.sh 报错。貌似以下两个参数的文件不匹配。 --model_path='models/aishell/params.tar.gz' \ --lang_model_path='models/lm/zh_giga.no_cna_cmn.prune01244.klm' \ 报错信息如下。 [INFO 2018-04-10 10:57:46,684 model.py:243] begin to initialize the external scorer for decoding terminate called after throwing an instance of 'lm::FormatLoadException' what(): kenlm/lm/binary_format.cc:160 in...
(1)/DeepSpeech/example/aishell/run_infer_golden.sh 脚本跑 aishell_model.tar.gz 模型已可以正常识别中文语音。 (2)我在run_infer_golden.sh基础上修改模型参数,使用 baidu_cn1.2k_model.tar来识别中文语音,出现大部分语音识别为空,个别语音只识别出一个"啊“,“的”等与语音无关的字。脚本的参数如下。 CUDA_VISIBLE_DEVICES=1 \ python -u infer.py \ --num_samples=10 \ --trainer_count=1 \ --beam_size=300 \ --num_proc_bsearch=8 \ --num_conv_layers=2 \ --num_rnn_layers=3 \ --rnn_layer_size=2048 \ --alpha=2.6 \ --beta=5.0 \...