Skip to content

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

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 1月 30, 2020 by saxon_zh@saxon_zhGuest

Facing problem with installation on python3i

Created by: VaibhavHiwase

I am facing problem in installation of DeepSpeech2 model in python3.5.2. Speciallfically problem comes from DeepSpeech-develop/decoders/swig/swig_decoders.py which could not find _swig_decoders.py due to scorer.h:9:33: fatal error: lm/enumerate_vocab.hh: No such file or directory

Error messages as follows while doing setup from /DeepSpeech-develop/decoders/swig/setup.py: DeepSpeech-develop/decoders/swig$ sudo python3 setup.py install scorer.h:22: Warning 401: Nothing known about base class 'lm::EnumerateVocab'. Ignored. running install running bdist_egg running egg_info creating swig_decoders.egg-info writing top-level names to swig_decoders.egg-info/top_level.txt writing dependency_links to swig_decoders.egg-info/dependency_links.txt writing swig_decoders.egg-info/PKG-INFO writing manifest file 'swig_decoders.egg-info/SOURCES.txt' reading manifest file 'swig_decoders.egg-info/SOURCES.txt' writing manifest file 'swig_decoders.egg-info/SOURCES.txt' installing library code to build/bdist.linux-x86_64/egg running install_lib running build_py creating build creating build/lib.linux-x86_64-3.5 copying swig_decoders.py -> build/lib.linux-x86_64-3.5 running build_ext building '_swig_decoders' extension creating build/temp.linux-x86_64-3.5 x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I. -Ikenlm -Iopenfst-1.6.3/src/include -IThreadPool -I/usr/include/python3.5m -c decoders_wrap.cxx -o build/temp.linux-x86_64-3.5/decoders_wrap.o -O3 -DNDEBUG -DKENLM_MAX_ORDER=6 -std=c++11 -DHAVE_ZLIB -DHAVE_BZLIB -DHAVE_XZLIB cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ In file included from decoders_wrap.cxx:2806:0: scorer.h:9:33: fatal error: lm/enumerate_vocab.hh: No such file or directory compilation terminated. x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I. -Ikenlm -Iopenfst-1.6.3/src/include -IThreadPool -I/usr/include/python3.5m -c decoder_utils.cpp -o build/temp.linux-x86_64-3.5/decoder_utils.o -O3 -DNDEBUG -DKENLM_MAX_ORDER=6 -std=c++11 -DHAVE_ZLIB -DHAVE_BZLIB -DHAVE_XZLIB error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++

When I am trying to run infer.py form python3 it is giving me following error: python3 infer.py Traceback (most recent call last): File "infer.py", line 14, in from model_utils.model import DeepSpeech2Model File "/DeepSpeech-develop/model_utils/model.py", line 20, in from decoders.swig_wrapper import Scorer File "/DeepSpeech-develop/decoders/swig_wrapper.py", line 6, in from .swig import swig_decoders File "/DeepSpeech-develop/decoders/swig/swig_decoders.py", line 13, in from . import _swig_decoders

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