Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Seeking Clarification on DemucsStreamer Logic #159

Open
sreezilosky opened this issue Sep 29, 2023 · 1 comment
Open

Seeking Clarification on DemucsStreamer Logic #159

sreezilosky opened this issue Sep 29, 2023 · 1 comment

Comments

@sreezilosky
Copy link

Team, I want to express my immense gratitude for open sourcing your project. Your contribution has been a career-saving resource for me, and words cannot convey how thankful I am.

I've been delving into the DemucsStreamer logic, and while I've made progress, certain aspects, especially related to the decoder streaming, still elude me. Specifically, I'm seeking clarification on a few lines of code:

  1. Subtracting Bias (Line 403):
    I'm curious about the motivation behind subtracting the bias in this line. Could you kindly explain the rationale behind this operation?

  2. Operations: x = x[..., :-demucs.stride] and x[..., :demucs.stride] += prev:
    I'm struggling to grasp the purpose of these operations. Why do we modify x using these slices, and what role do they play in the overall functionality of the code?

I've been trying to understand these nuances for months, and any insights or explanations would be immensely valuable to me.
If at all there is an explanation for this somewhere in the web, kindly help me with the link.

@sreezilosky
Copy link
Author

@adiyoss @adefossez I've tried to figure this for few months now - but i failed. Would be really helpful if some direction to this is given. Thanks in advance.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant