Loading...

文章背景图

EmotiVoice 保姆级部署教程:网易有道开源多情感中英文 TTS 引擎从零到一完整搭建

2026-11-09
1
- 字
- 分钟
|

EmotiVoice

[{"source":{"position":37,"lines":["https://github.com/netease-youdao/EmotiVoice"]},"target":{"position":37,"lines":["<a href="https://github.com/netease-youdao/EmotiVoice" target="_blank" rel="noopener">https://github.com/netease-youdao/EmotiVoice"]},"type":"CHANGE"},{"source":{"position":41,"lines":["https://github.com/netease-youdao/EmotiVoice/wiki"]},"target":{"position":41,"lines":["<a href="https://github.com/netease-youdao/EmotiVoice/wiki" target="_blank" rel="noopener">https://github.com/netease-youdao/EmotiVoice/wiki"]},"type":"CHANGE"},{"source":{"position":45,"lines":["https://replicate.com/bramhooimeijer/emotivoice"]},"target":{"position":45,"lines":["<a href="https://replicate.com/bramhooimeijer/emotivoice" target="_blank" rel="noopener">https://replicate.com/bramhooimeijer/emotivoice"]},"type":"CHANGE"},{"source":{"position":76,"lines":["

出处:https://github.com/netease-youdao/EmotiVoice#emotivoice-docker-image

"]},"target":{"position":76,"lines":["

出处:<a href="https://github.com/netease-youdao/EmotiVoice#emotivoice-docker-image" target="_blank" rel="noopener">https://github.com/netease-youdao/EmotiVoice#emotivoice-docker-image

"]},"type":"CHANGE"},{"source":{"position":105,"lines":["

出处:https://github.com/netease-youdao/EmotiVoice#full-installation

"]},"target":{"position":105,"lines":["

出处:<a href="https://github.com/netease-youdao/EmotiVoice#full-installation" target="_blank" rel="noopener">https://github.com/netease-youdao/EmotiVoice#full-installation

"]},"type":"CHANGE"},{"source":{"position":189,"lines":["

出处:https://github.com/netease-youdao/EmotiVoice#inference

"]},"target":{"position":189,"lines":["

出处:<a href="https://github.com/netease-youdao/EmotiVoice#inference" target="_blank" rel="noopener">https://github.com/netease-youdao/EmotiVoice#inference

"]},"type":"CHANGE"},{"source":{"position":293,"lines":["
  • GitHub 仓库:https://github.com/netease-youdao/EmotiVoice
  • ","
  • Wiki 文档:https://github.com/netease-youdao/EmotiVoice/wiki
  • ","
  • 官方 Demo:https://replicate.com/bramhooimeijer/emotivoice
  • ","
  • 模型下载(ModelScope):https://www.modelscope.cn/syq163/outputs
  • "]},"target":{"position":293,"lines":["
  • GitHub 仓库:<a href="https://github.com/netease-youdao/EmotiVoice" target="_blank" rel="noopener">https://github.com/netease-youdao/EmotiVoice
  • ","
  • Wiki 文档:<a href="https://github.com/netease-youdao/EmotiVoice/wiki" target="_blank" rel="noopener">https://github.com/netease-youdao/EmotiVoice/wiki
  • ","
  • 官方 Demo:<a href="https://replicate.com/bramhooimeijer/emotivoice" target="_blank" rel="noopener">https://replicate.com/bramhooimeijer/emotivoice
  • ","
  • 模型下载(ModelScope):<a href="https://www.modelscope.cn/syq163/outputs" target="_blank" rel="noopener">https://www.modelscope.cn/syq163/outputs
  • "]},"type":"CHANGE"}]

    安装部署(实操步骤)

    1. 前置准备

    • 项目仓库:netease-youdao/EmotiVoice(https://github.com/netease-youdao/EmotiVoice)
    • 需要本机具备 Git;按项目语言准备对应运行时(Python / Node.js / Go / Java 等)
    • 建议先在本机或测试服务器上跑通,再部署到生产环境
    • 遇到依赖版本问题时,以仓库 README 与 Releases 说明为准

    2. 官方安装 / 启动命令(摘自项目 README,可直接复制执行)

    docker run -dp 127.0.0.1:8501:8501 syq163/emoti-voice:latest
    docker pull syq163/emoti-voice:latest
    docker run -dp 127.0.0.1:8501:8501 -p 127.0.0.1:8000:8000 syq163/emoti-voice:latest
    conda create -n EmotiVoice python=3.8 -y
    conda activate EmotiVoice
    pip install torch torchaudio
    pip install numpy numba scipy transformers soundfile yacs g2p_en jieba pypinyin pypinyin_dict
    python -m nltk.downloader "averaged_perceptron_tagger_eng"
    git clone https://www.modelscope.cn/syq163/WangZeJun.git
    git clone https://www.modelscope.cn/syq163/outputs.git

    3. 部署流程

    1. 克隆仓库:git clone https://github.com/netease-youdao/EmotiVoice
    2. 进入目录后按上面的官方命令安装依赖
    3. 参考 README 的配置说明填写配置文件或环境变量
    4. 按官方说明启动服务,确认监听端口与访问地址
    5. 浏览器访问验证功能,确认无报错后再开放外网

    4. 常见问题排查

    • 依赖安装失败:先升级包管理器,再确认运行时版本符合 README 要求
    • 启动报端口占用:修改配置中的端口或释放被占用端口
    • 页面打不开:检查防火墙 / 安全组是否放行对应端口
    • 功能异常:查看运行日志,对照 Issues 中同类问题处理

    5. 官方链接

    评论交流

    文章目录