Code Monkey home page Code Monkey logo

Comments (7)

lucidrains avatar lucidrains commented on June 1, 2024 1

@Psarpei those hyperparameters got set through the discussion here

maybe they can weigh in?

from bs-roformer.

iver56 avatar iver56 commented on June 1, 2024 1

If you use a compatible length, the length of the output will be the same as the length of the input. You are not losing anything this way. If you need to apply it to longer audio snippets, check out the part of the paper that describes overlap&average (OA) as one of several viable techniques.

from bs-roformer.

faroit avatar faroit commented on June 1, 2024

@Psarpei 512 is just a lot more common. Also torch istft and stft is slow so I suggest to not make it slower with non power of 2 values.

from bs-roformer.

Psarpei avatar Psarpei commented on June 1, 2024

Okay thanks for your answer :) but then there is the problem that the resulting audio length will not match the original one. What is your suggestion to handle that?

from bs-roformer.

iver56 avatar iver56 commented on June 1, 2024

Not all lengths are compatible. Check the length of the output you are getting and use that as the input length.

from bs-roformer.

Psarpei avatar Psarpei commented on June 1, 2024

but in that way I loose information at the end of the audio, how do you avoid that using this approach ?

from bs-roformer.

Psarpei avatar Psarpei commented on June 1, 2024

okay thanks :)

from bs-roformer.

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.