-
Notifications
You must be signed in to change notification settings - Fork 411
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
check shape #859
Comments
Hi! thanks for your contribution!, great first issue! |
cc: @quancs |
Hi, you are right this constraint is not designed correctly for all possible use cases... Could you give some example input and output for your use case |
I guess it is (3) could not be applied to other audio sub-domains. Is that right? @MordehayM |
Yes, exactly. |
@MordehayM So, it works for your case if we just check the first two dimensions, batch and speaker? |
Sorry, but I didn't check that. I chose another implementation of PIT. |
Thanks for your opinions. I will fix this problem.
just a little bit curious, could you tell me which one? If we find it's faster, we could implement it in TorchMetrics ^^ |
https://github.com/PyTorchLightning/metrics/blob/21ba6502418f537a7ca3618be0b19f617f83a062/torchmetrics/functional/audio/pit.py#L148
Hi,
I don't understand why the target shape and pred shape must be equal?
This question arises from the fact that the loss can be the categorical cross-entropy with multiple outputs (for each speaker, for instance) and then this constraint does not apply(categorical cross-entropy in Pytorch)
The text was updated successfully, but these errors were encountered: