Skip to content
Discussion options

You must be logged in to vote

Do you use your own pretrained model?

You would need the model to return the unseparated audio from the model but a simple class wrapper with a forward like

# Pseudo code
def forward(self, x): 
    estimate = self.model(x)
    remaining = x - estimate
    return torch.cat([estimate, remaining])

would do the trick I guess.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by edgarcin95
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants