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

Prediction using Saved Model Failed. #2

Open
azeemabbas opened this issue Apr 14, 2020 · 1 comment
Open

Prediction using Saved Model Failed. #2

azeemabbas opened this issue Apr 14, 2020 · 1 comment

Comments

@azeemabbas
Copy link

@mikesmales Thanks for wonderful code for sound classification.

I used your code for training a model to classify free-spoken-digit-dataset (https://github.com/Jakobovski/free-spoken-digit-dataset). The accuracy of the trained model is 96%.

But the prediction using the saved model fails when I test it for my recorded voice. I recorded some digits using windows 10 voice recorder and converted files to 8KHz Mono WAV format.

Any help you can provide? The model predict accuratley on the recordings provided within the dataset.

My Recorded Digit 3:

Original sample rate: 22050
Librosa sample rate: 22050
Original audio file minmax range: 20 to 239
Librosa audio file min
max range: -0.84375 to 0.8671875
(40, 18)

Dataset : Jackson 1:

Original sample rate: 8000
Librosa sample rate: 22050
Original audio file minmax range: -10989 to 9277
Librosa audio file min
max range: -0.35349792 to 0.28417692
(40, 21)

@fastlaner
Copy link

maybe you will have to train it on your own voice??

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