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

error in applying trained mlp classifier model to new audio chunk #5

Open
DolphinRidz opened this issue Mar 29, 2021 · 0 comments
Open

Comments

@DolphinRidz
Copy link

file = 'chunkchannel_1.wav'
ans =[]
new_feature= extract_feature(file, mfcc=True, chroma=True, mel=True)
ans.append(new_feature)
ans = np.array(ans)
print(np.shape(ans))
Emotion_Voice_Detection_Model.predict([ans])

I have trained my model using the RAVDESS dataset for emotion recognition. I want to apply the same model to audio chunks that I have downloaded from youtube and converted to .wav format.
It's giving error as
Found array with dim 3. Estimator expected <= 2.

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

1 participant