Skip to content

Conversation

jcaw
Copy link
Contributor

@jcaw jcaw commented Apr 13, 2021

As mentioned in #1348 and #1449, the VAD function trims the input tensor to the first instance of voice activity on any channel or item. Trimming batches this way may be undesirable as the item with earliest activity will dominate, but either way, the batch behaviour does not match the itemwise behaviour.

The functional VAD batch consistency tests currently pass out of coincidence, but they specify incorrect behaviour. This PR removes these tests.

Closes #1449

The VAD function trims the input tensor to the first instance of voice
activity on any channel or item. Trimming batches this way may be
undesirable as the item with earliest activity will dominate. Either
way, the batch behaviour does not match the itemwise behaviour.

The VAD batch consistency tests currently pass out of coincidence, but
they specify incorrect behaviour. This commit removes them.
Copy link
Contributor

@mthrok mthrok left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Thanks!

@mthrok mthrok merged commit 749c0e3 into pytorch:master Apr 13, 2021
carolineechen pushed a commit to carolineechen/audio that referenced this pull request Apr 30, 2021
The VAD function trims the input tensor to the first instance of voice
activity on any channel or item. Trimming batches this way may be
undesirable as the item with earliest activity will dominate. Either
way, the batch behaviour does not match the itemwise behaviour.

The VAD batch consistency tests currently pass out of coincidence, but
they specify incorrect behaviour. This commit removes them.
@mthrok mthrok mentioned this pull request Aug 25, 2021
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove T.VAD from transform batch consistency test

3 participants