首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >无法在Windows上训练Deepspeech模型

无法在Windows上训练Deepspeech模型
EN

Stack Overflow用户
提问于 2021-05-17 17:58:41
回答 1查看 152关注 0票数 1

我试着在Windows上训练Deepspeech模型,因为我不能使用Linux。但是,我不能训练我得到了错误

代码语言:javascript
运行
复制
  File "E:/deepspeech-german-master/DeepSpeech/training/deepspeech_training/train.py", line 30, in <module>
    from DeepSpeech.native_client.ctcdecode import ctc_beam_search_decoder, Scorer
  File "E:\deepspeech-german-master\DeepSpeech\native_client\ctcdecode\__init__.py", line 3, in <module>
    from . import swigwrapper # pylint: disable=import-self
ImportError: cannot import name 'swigwrapper' from 'DeepSpeech.native_client.ctcdecode' (E:\deepspeech-german-master\DeepSpeech\native_client\ctcdecode\__init__.py)```

I installed Kenlm language model using cygwin. But I am not able to train. If anybody has used it on windows. Can you please help, I am stuck on this since back so many days.
EN

回答 1

Stack Overflow用户

发布于 2021-05-18 15:30:29

Swig是一个构建和打包工具。它不是为Windows预先构建的,这就是您收到swigwrapper错误的原因。你可以使用read more about running Swig on Windows here

在Windows上运行DeepSpeech的一个更好的方法是安装Docker,并使用Docker环境进行培训。这消除了你面临的很多依赖问题。这是documented in the DeepSpeech PlayBook

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/67567532

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档