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

Completely wrong predictions on own wav files #143

Open
oezguensi opened this issue Dec 28, 2020 · 1 comment
Open

Completely wrong predictions on own wav files #143

oezguensi opened this issue Dec 28, 2020 · 1 comment

Comments

@oezguensi
Copy link

oezguensi commented Dec 28, 2020

When I try to run my own audio recordings using label_wav.py, I always get random predictions. I trimmed the audio files to only contain the keyword and still receive false outputs. Does anyone experience the same?

@LeeJiangWei
Copy link

Same experience here at first, but I probably solved it by checking the format of my own wav file. Your wav file should have the same format as those in training data.
i.e., the sample rate is 22050 and bit rate is 256kb/s, the length of the audio must be exactly 1 second. You can check the details by looking at Google speech command dataset.

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