-
Notifications
You must be signed in to change notification settings - Fork 66
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
Error when using high rates #7
Comments
please provide your code too and not just the error logs.
The |
the recorded audio files are stored in ".wav audio" file in .wav format. so where do i insert the file path? thank you for you guidance, btw :) |
I don't think this will work. You are training your identifier using data with 16000 Hz sampling rate and using it to test/ recognize gender from a file with a 44100 Hz. Please, take to a look at the graph in the README and this article, that I wrote in order to get a better grasp of the theory. To have correct results you need to use training and testing data with the same sampling rate. The docs are very clear about this:
so: features_vector = extract_features(audio="INSERT-AUDIO-FILE-PATH-HERE", rate = 44100)
|
alright, i'll work on this and let you know how it turns out. |
i converted all my audio files into 16000 and also inserted the file path. but it keeps showing the same error in the "rate" variable. |
if you are using the correct rates and have placed the files in the right folders then running the features extraction, training and testing code sections should be straightforward. Without seeing the code nor the error logs, I can only guess what's wrong. So without the code or the errors, I am afraid that I cannot provide any reliable input. |
this is the wav files i recorded and tried to run using the FeatureExtractor1.py (real time gender classification) code. all the audio files are in 16000Hz. can you please help me out? thanks |
hi, i am currently working on my second phase of experiment using your source code. thank you :) i just have one doubt: the audio and rate in features vector, im having troubles in sampling_rate when i tried to substitute it with 44100. can you please tell me where im going wrong?
Originally posted by @thxrgxxs in #4 (comment)
The text was updated successfully, but these errors were encountered: