forked from Renovamen/Speech-Emotion-Recognition
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcmd_example.sh
19 lines (18 loc) · 934 Bytes
/
cmd_example.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# 训练
# Opensmile 提特征
python3 cmd.py -o t -mt 'svm' -mn 'SVM_OPENSMILE' -l 1 -f 'o'
python3 cmd.py -o t -mt 'mlp' -mn 'MLP_OPENSMILE' -l 1 -f 'o'
python3 cmd.py -o t -mt 'lstm' -mn 'LSTM_OPENSMILE' -l 1 -f 'o'
# Librosa 提特征
python3 cmd.py -o t -mt 'svm' -mn 'SVM_LIBROSA' -l 1 -f 'l'
python3 cmd.py -o t -mt 'mlp' -mn 'MLP_LIBROSA' -l 1 -f 'l'
python3 cmd.py -o t -mt 'lstm' -mn 'LSTM_LIBROSA' -l 1 -f 'l'
# 预测
# Opensmile 提特征
python3 cmd.py -o p -mt 'svm' -mn 'SVM_OPENSMILE' -f 'o' -a 'Test/happy.wav'
python3 cmd.py -o p -mt 'mlp' -mn 'MLP_OPENSMILE' -f 'o' -a 'Test/neutral.wav'
python3 cmd.py -o p -mt 'lstm' -mn 'LSTM_OPENSMILE' -f 'o' -a 'Test/angry.wav'
# Librosa 提特征
python3 cmd.py -o p -mt 'svm' -mn 'SVM_LIBROSA' -f 'l' -a 'Test/surprise.wav'
python3 cmd.py -o p -mt 'mlp' -mn 'MLP_LIBROSA' -f 'l' -a 'Test/sad.wav'
python3 cmd.py -o p -mt 'lstm' -mn 'LSTM_LIBROSA' -f 'l' -a 'Test/fear.wav'