8000 init features_offset variable for cases where data_length > features_… by alior101 · Pull Request #20 · kahrendt/microWakeWord · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

init features_offset variable for cases where data_length > features_… #20

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

Merged
merged 1 commit into from
Apr 29, 2024

Conversation

alior101
Copy link
Contributor

when training with datasets with truncation set to "split" and when the datalength is greater than the featuers length configured, the features_offset variable is left un-initialized and is later used un-initialized which crashes the script. This commit fixes that...

…length and truncation_strategy is none of the if options
Copy link
Owner
@kahrendt kahrendt 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 to me, thanks!

@kahrendt kahrendt merged commit d0ef708 into kahrendt:main Apr 29, 2024
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.

3 participants
0