Comments (6)
Hey @zzirend ,
What specific error is raised? in which file and line? Can you please send the traceback?
Thanks,
from emotion-recognition-using-speech.
Hi, I am getting the same problem, and here is the error message:
Traceback (most recent call last):
File "C:\Users\nene.matsuki\Documents\GitHub\emotion-recognition-using-speech\grid_search.py", line 28, in
d = EmotionRecognizer(model, emotions=emotions,model_name = f"grid/{model.class.name}", features = features)
File "C:\Users\nene.matsuki\Documents\GitHub\emotion-recognition-using-speech\emotion_recognition.py", line 87, in init
if not model:
File "C:\Users\nene.matsuki\Anaconda3\envs\emotion_recognition_using_speec\lib\site-packages\sklearn\ensemble_base.py", line 180, in len
return len(self.estimators_)
AttributeError: 'GradientBoostingClassifier' object has no attribute 'estimators_'
Thanks :)
from emotion-recognition-using-speech.
Hi @x4nth055 , I am getting the same problem as well
if not model:
File "/Users/ruchirs/ser/emotion-recognition-using-speech/emo-env/lib/python3.9/site-packages/sklearn/ensemble/_base.py", line 180, in __len__
return len(self.estimators_)
AttributeError: 'RandomForestClassifier' object has no attribute 'estimators_'
from emotion-recognition-using-speech.
Hey @ruchirsachdeva and @NeneMatsuki,
I just tried to run the grid_search.py
script and it worked fine, I think it's related to sklearn's version, please downgrade to 0.24.2 to be able to run the project properly:
$ pip install scikit-learn==0.24.2
Please let me know if it persists.
from emotion-recognition-using-speech.
Hi @x4nth055 , I am getting the same problem as well
if not model: File "/Users/ruchirs/ser/emotion-recognition-using-speech/emo-env/lib/python3.9/site-packages/sklearn/ensemble/_base.py", line 180, in __len__ return len(self.estimators_) AttributeError: 'RandomForestClassifier' object has no attribute 'estimators_'
I got same error.
@x4nth055 I tried this version scikit-learn
. Still same problem.
from emotion-recognition-using-speech.
嗨,我也遇到了同样的问题
if not model: File "/Users/ruchirs/ser/emotion-recognition-using-speech/emo-env/lib/python3.9/site-packages/sklearn/ensemble/_base.py", line 180, in __len__ return len(self.estimators_) AttributeError: 'RandomForestClassifier' object has no attribute 'estimators_'
我遇到了同样的错误。
我尝试了这个版本。还是同样的问题。
scikit-learn
您好麻烦问一下您解决这个问题了吗
from emotion-recognition-using-speech.
Related Issues (20)
- Test without training again HOT 3
- How to do it step by step
- Where is the main-run program? HOT 1
- Different Results in Example 2 HOT 1
- Rnn in deep learning usage is problematic in terms of feature space HOT 1
- References paper HOT 1
- Where the SVC () model is saved? HOT 1
- The relationship between LSTM and classifier HOT 1
- ModuleNotFoundError: No module named 'numba.decorators' HOT 6
- Error while running the pretrained model: No such file or directory: 'train_custom.csv' HOT 5
- I could not run the example in the readme HOT 2
- Error - All the input arrays must have same number of dimensions HOT 1
- SVR parameters commented HOT 3
- ImportError: numpy.core.multiarray failed to import HOT 1
- extract_feature, did not work. HOT 1
- librosa.feature.melspectrogram出错 HOT 1
- Regarding set up of project
- Confusion matrix incomplete problem 混淆矩阵不完整 HOT 1
- RNN Model not predicting
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from emotion-recognition-using-speech.