Code Monkey home page Code Monkey logo

Comments (3)

yl4579 avatar yl4579 commented on July 30, 2024 1

That 2 is actually hardcoding. This is caused by the n_down of the text aligner being 2, so the length of aligned phoneme representation is halved. I will fix it all the hardcoding later when I get time.

from styletts2.

yl4579 avatar yl4579 commented on July 30, 2024

I think your calculations are not correct. Each second is 80 frames, so 6 seconds would be 480 instead of 960, and 3 seconds would be 240 frames. Setting it to 400 to 500 corresponds to roughly 5 to 6 seconds, but you can definitely do 3 to 6 seconds too, which I personally have found no difference between them.

from styletts2.

stevenhillis avatar stevenhillis commented on July 30, 2024

That's very helpful, thank you! I'm still a little confused about why min_len and max_len are being divided by 2 here, though:

mel_len = max(int(min(output_lengths) / 2 - 1), self.min_len // 2)

Can you help me interpret that?

from styletts2.

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.