Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PIT loss returns wrong loss #704

Closed
RahulDasari opened this issue Dec 3, 2024 · 1 comment
Closed

PIT loss returns wrong loss #704

RahulDasari opened this issue Dec 3, 2024 · 1 comment
Labels
question Further information is requested

Comments

@RahulDasari
Copy link

I'm trying to train using PIT loss and i get a loss of 80 when i pass identical tensors(batch , src, time) as source and est_source. Shouldn't it be zero?

loss_func = PITLossWrapper(pairwise_neg_sisdr, pit_from='pw_mtx')
print(loss_func(torch.zeros(1,5,624),torch.zeros(1,5,624)))

80

@RahulDasari RahulDasari added the question Further information is requested label Dec 3, 2024
@mpariente
Copy link
Collaborator

Please explain how you solved your issue, so future users can discover the solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants