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

Ability for batched tensor #31

Closed
MordehayM opened this issue Sep 29, 2022 · 2 comments
Closed

Ability for batched tensor #31

MordehayM opened this issue Sep 29, 2022 · 2 comments

Comments

@MordehayM
Copy link

Thank you for the code!
I have a question: Does this code has the ability to calc the stoi for batched tensor with size of [B, num_of_samples] or even with size of [B, num_speaker, num_of_samples].
I checked and I think it has not this ability, right?
Can you maybe expand the implementaion to this scenario please?

@mpariente
Copy link
Owner

Thanks for the question !
Indeed, it's not currently possible.

There is a simple VAD within the STOI computation. All the steps afterwards cannot be batched because the number of samples of active segments within batch examples are not the same.

There is an attempt to do that here : torch_stoi, but batching the real computation does not work.
This note might be interesting to understand what I mean.

@mpariente
Copy link
Owner

I'm closing the issue as we won't implement any batched computation.

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

No branches or pull requests

2 participants