Skip to content

Variable input size#46

Merged
dscripka merged 5 commits intomainfrom
variable_input_size
Sep 2, 2023
Merged

Variable input size#46
dscripka merged 5 commits intomainfrom
variable_input_size

Conversation

@dscripka
Copy link
Copy Markdown
Owner

This PR adds proper support for variable input sizes for the audio data when calling the predict method. Previous versions of openWakeWord allowed for this, but if input audio arrays were not integer multiples of 1280 samples (80 ms of 16khz audio) then audio data was silently dropped (!) leading to significantly decreased accuracy.

Several misc. bugs and issues are also addressed.

@dscripka dscripka self-assigned this Aug 26, 2023
@dscripka dscripka merged commit d8ed6cb into main Sep 2, 2023
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

Successfully merging this pull request may close these issues.

1 participant