Skip to content

  • 体验新版
    • 正在加载...
  • 登录
  • PaddlePaddle
  • DeepSpeech
  • Issue
  • #212

D
DeepSpeech
  • 项目概览

PaddlePaddle / DeepSpeech
大约 2 年 前同步成功

通知 210
Star 8425
Fork 1598
  • 代码
    • 文件
    • 提交
    • 分支
    • Tags
    • 贡献者
    • 分支图
    • Diff
  • Issue 245
    • 列表
    • 看板
    • 标记
    • 里程碑
  • 合并请求 3
  • Wiki 0
    • Wiki
  • 分析
    • 仓库
    • DevOps
  • 项目成员
  • Pages
D
DeepSpeech
  • 项目概览
    • 项目概览
    • 详情
    • 发布
  • 仓库
    • 仓库
    • 文件
    • 提交
    • 分支
    • 标签
    • 贡献者
    • 分支图
    • 比较
  • Issue 245
    • Issue 245
    • 列表
    • 看板
    • 标记
    • 里程碑
  • 合并请求 3
    • 合并请求 3
  • Pages
  • 分析
    • 分析
    • 仓库分析
    • DevOps
  • Wiki 0
    • Wiki
  • 成员
    • 成员
  • 收起侧边栏
  • 动态
  • 分支图
  • 创建新Issue
  • 提交
  • Issue看板
已关闭
开放中
Opened 4月 19, 2018 by saxon_zh@saxon_zhGuest

Error report: Errors about run "BaiduCN1.2k Model" !

Created by: gangyahaidao

Hello guys, when i test Aishell, everything runs ok, except the high "Word Error Rate"!

then i begin to test "BaiduCN1.2k Model", something went wrong.

1.i known that BaiduCN1.2k speech rate is 8khz, then I change the hz from file demo_server.py and demo_client.py to 8000hz, when i speak from the mocrophone, i get some errors from demo_server.py, as follow:

Received utterance[length=94208] from 127.0.0.1, saved to demo_cache/20180419073019_127.0.0.1.wav.
/usr/local/lib/python2.7/dist-packages/resampy/core.py:90: FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype(float).type`.
  if not np.issubdtype(x.dtype, np.float):

and when the warmup file is 8000hz, got the same error:

('Warm-up Test Case %d: %s', 0, u'/home/train/.cache/paddle/dataset/speech/Aishell/data_aishell/wav/test/S0913/BAC009S0913W0152.wav')
/usr/local/lib/python2.7/dist-packages/resampy/core.py:90: FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype(float).type`.
  if not np.issubdtype(x.dtype, np.float):

I dont known why, please light me

2.question two: I dont known how to run asr server by "BaiduCN1.2k Model", here is my config file run_zh_demo_server.sh```

start demo server

CUDA_VISIBLE_DEVICES=0
python -u deploy/demo_server.py
--host_ip='localhost'
--host_port=8086
--num_conv_layers=2
--num_rnn_layers=3
--rnn_layer_size=1024
--alpha=1.15
--beta=0.15
--cutoff_prob=1.0
--cutoff_top_n=40
--use_gru=True
--use_gpu=True
--share_rnn_weights=False
--speech_save_dir='demo_cache'
--warmup_manifest='data/aishell/manifest.test'
--mean_std_path='models/baidu_zh12k/mean_std.npz'
--vocab_path='models/baidu_zh12k/vocab.txt'
--model_path='models/baidu_zh12k/params.tar.gz'
--lang_model_path='models/lm/zh_giga.no_cna_cmn.prune01244.klm'
--decoding_method='ctc_beam_search'
--specgram_type='linear'

after I startup the server, it cannot recognise wav file correct, what else I need to do?

any help will be very appreciate, thank you 
指派人
分配到
无
里程碑
无
分配里程碑
工时统计
无
截止日期
无
标识: paddlepaddle/DeepSpeech#212
渝ICP备2023009037号

京公网安备11010502055752号

网络110报警服务 Powered by GitLab CE v13.7
开源知识
Git 入门 Pro Git 电子书 在线学 Git
Markdown 基础入门 IT 技术知识开源图谱
帮助
使用手册 反馈建议 博客
《GitCode 隐私声明》 《GitCode 服务条款》 关于GitCode
Powered by GitLab CE v13.7