Coder Social home page Coder Social logo

Comments (6)

faroit avatar faroit commented on September 17, 2024 1

@sleglaive coming back to this, I am not sure how this can be fixed at the dataloader stage, when nb_channels=1 and a stereo file is loaded as we want the downmix to be done in the magnitude spectrogram domain. If we downmix in the waveform domain already the downmix in the spectrogram layer would never be called.

Instead, for heterogenous datasets, I would propose an upmix_to_stero=True switch for the dataloaders that would always upmix to stereo by copying the channels and later downmix in the spectrogram domain

@aliutkus additional thoughts?

from open-unmix-pytorch.

faroit avatar faroit commented on September 17, 2024

Hi Simon, thanks for the issue. This is actually something that we could address as part of #33. I will leave this open until it's fixed.

Regarding a fix, do you agree that the downmix should be done in the magnitude spectrum domain?

from open-unmix-pytorch.

sleglaive avatar sleglaive commented on September 17, 2024

Hi Fabian,
Yes it seems ok to me. Naturally, I would have done the downmix in the waveform domain, but actually I guess you chose the magnitude spectrum domain to avoid phase problems? It is then a good idea, and maybe better than selecting only one channel.

from open-unmix-pytorch.

faroit avatar faroit commented on September 17, 2024

@sleglaive this is now addressed by #56 and merged into the dev branch. Maybe you can comment on this before we release the new version

from open-unmix-pytorch.

sleglaive avatar sleglaive commented on September 17, 2024

@faroit sorry for the late reply, the solution you propose sounds great to me, thanks a lot!

from open-unmix-pytorch.

faroit avatar faroit commented on September 17, 2024

Great. I will close this when the dev branch is merged

from open-unmix-pytorch.

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.