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

Fix vocode kernel size issue #89

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Likhithsai2580
Copy link

Fixes #76

Add a check in the vocode method to handle cases where the kernel size is greater than the input size.

  • Add a check in the vocode method to ensure the kernel size is not greater than the input size.
  • Log an appropriate error message if the kernel size is greater than the input size.
  • Return an empty tensor if the kernel size is greater than the input size.
  • Add an alternative method to handle the case when the kernel size is greater than the input size by using a different bandwidth_id.

Fixes Camb-ai#76

Add a check in the `vocode` method to handle cases where the kernel size is greater than the input size.

* Add a check in the `vocode` method to ensure the kernel size is not greater than the input size.
* Log an appropriate error message if the kernel size is greater than the input size.
* Return an empty tensor if the kernel size is greater than the input size.
* Add an alternative method to handle the case when the kernel size is greater than the input size by using a different bandwidth_id.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant