Code Monkey home page Code Monkey logo

Comments (2)

Artrajz avatar Artrajz commented on July 21, 2024

现在是利用原来的文本分段推理来实现流式响应,先推理出一段就可以播放。使用cpu推理还是比较慢的,等待时间就是推理第一段文本需要的时间。不过推理长文本时,流式响应的速度优势还是很明显。测试使用GPU推理(1060显卡)荷塘月色全文,非流式需要12s才能播放,流式需要1~2s就可以开始播放音频。

所以现在的瓶颈是第一段文本的推理速度,看过PaddleSpeech的流式合成,感觉还是得从模型上解决,但是我不会😭

from vits-simple-api.

40740 avatar 40740 commented on July 21, 2024

我一开始也是尝试长文本的时候也是用分段式,不过会影响合成读音效果(一句话和好几句话的说话语气似乎有出入),如果是模型上解决那就没办法了。谢谢老大。

from vits-simple-api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.