Skip to content

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

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 3月 23, 2018 by saxon_zh@saxon_zhGuest

Inference using English model returns gibberish

Created by: jrao1

The command we run:

CUDA_VISIBLE_DEVICES=0 python infer.py --trainer_count 1 \
        --use_gru True \
        --mean_std_path ./models/baidu_en8k/mean_std.npz \
        --vocab_path ./models/baidu_en8k/vocab.txt \
        --infer_manifest manifest.json \
        --lang_model_path models/lm/common_crawl_00.prune01111.trie.klm \
        --model_path ./models/baidu_en8k/params.tar.gz

Manifest:

{"audio_filepath": "./241757.wav", "duration": 5, "text": "If students today had more free time, they might show more interest in politics."}

The file is this: 241757.zip, it came from http://www.manythings.org/audio/sentences/126.html

Result:

-----------  Configuration Arguments -----------
alpha: 2.5
beam_size: 500
beta: 0.3
cutoff_prob: 1.0
cutoff_top_n: 40
decoding_method: ctc_beam_search
error_rate_type: wer
infer_manifest: manifest.json
lang_model_path: models/lm/common_crawl_00.prune01111.trie.klm
mean_std_path: ./models/baidu_en8k/mean_std.npz
model_path: ./models/baidu_en8k/params.tar.gz
num_conv_layers: 2
num_proc_bsearch: 8
num_rnn_layers: 3
num_samples: 10
rnn_layer_size: 2048
share_rnn_weights: True
specgram_type: linear
trainer_count: 1
use_gpu: True
use_gru: 1
vocab_path: ./models/baidu_en8k/vocab.txt
------------------------------------------------
I0323 12:10:15.707188   820 Util.cpp:166] commandline:  --use_gpu=True --rnn_use_batch=True --trainer_count=1
[INFO 2018-03-23 12:10:17,678 layers.py:2606] output for __conv_0__: c = 32, h = 81, w = 54, size = 139968
[INFO 2018-03-23 12:10:17,680 layers.py:3133] output for __batch_norm_0__: c = 32, h = 81, w = 54, size = 139968
[INFO 2018-03-23 12:10:17,680 layers.py:7224] output for __scale_sub_region_0__: c = 32, h = 81, w = 54, size = 139968
[INFO 2018-03-23 12:10:17,681 layers.py:2606] output for __conv_1__: c = 32, h = 41, w = 54, size = 70848
[INFO 2018-03-23 12:10:17,682 layers.py:3133] output for __batch_norm_1__: c = 32, h = 41, w = 54, size = 70848
[INFO 2018-03-23 12:10:17,683 layers.py:7224] output for __scale_sub_region_1__: c = 32, h = 41, w = 54, size = 70848
[INFO 2018-03-23 12:10:20,938 model.py:243] begin to initialize the external scorer for decoding
[INFO 2018-03-23 12:10:29,526 model.py:253] language model: is_character_based = 0, max_order = 5, dict_size = 400000
[INFO 2018-03-23 12:10:29,711 model.py:254] end initializing scorer
[INFO 2018-03-23 12:10:29,711 infer.py:103] start inference ...

Target Transcription: If students today had more free time, they might show more interest in politics.
Output Transcription: eugenespringfield emergencies emergencies eyebrowraising
Current error rate [wer] = 1.000000
[INFO 2018-03-23 12:10:30,421 infer.py:124] finish inference

Any ideas?

(It works well for sentences from librispeech, so the model is working)

指派人
分配到
无
里程碑
无
分配里程碑
工时统计
无
截止日期
无
标识: paddlepaddle/DeepSpeech#190
渝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