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
Loading and testing the model requires lb.fitTransform()? #15
Comments
No, you don't have to fit the model as its already been trained and you are just using it directly to predict the emotions. Make sure you have imported LabelEncoder. It should not have given any error as many other people have used the model directly. |
Hi, I have perfectly imported LabelEncoder() but the error is same, its asking to call 'fit' with appropriate arguments before using inverseTransform(). I am trying to train the model, but not clear about the datasets, Appreciate your help! |
Yes, you need to put all the files in the rawdata folder. For SAVEE you could put them in the same folder even though they have the same name. You will get filename and its multiple copies. Then you can go ahead and add labels respectively as I did in cell number 11. |
Thank you! That helped |
Hi. we have the same problem... |
I'm trying to use the pre-trained model. But getting the same error. I have imported the LabelEncoder successfully. |
I'm aslo getting same error when i was trying to use pre-trained model. Could you tell , how fixed the error? |
Hello,
I am trying to use your model to test the live audio recorded 'output10.wav'. I get the error for
livepredictions = (lb.inverse_transform((liveabc)))
asDo I need to do
lb.firTransform(y_train)
and y_test before I just run your model?Is there any other possibility to test the model before getting all the features from dataset?
(Speech-Emotion-Analyzer) C:\Users\BhargaviiNadendla>sklearn.exceptions.NotFittedError: This LabelEncoder instance is not fitted yet. Call 'fit' with appropriate arguments before using this method.
'sklearn.exceptions.NotFittedError:' is not recognized as an internal or external command,
operable program or batch file.
The text was updated successfully, but these errors were encountered: