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

Seeking Clarification on DemucsStreamer Logic #159

@sreezilosky

Description

@sreezilosky

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions