-
Notifications
You must be signed in to change notification settings - Fork 249
Open
Description
When I run:
from deep_emotion_recognition import DeepEmotionRecognizer
deeprec = DeepEmotionRecognizer(emotions=['angry', 'sad', 'neutral', 'ps', 'happy'], n_rnn_layers=2, n_dense_layers=2, rnn_units=128, dense_units=128)
train the model
deeprec.train()
get the accuracy
print(deeprec.test_score())
predict angry audio sample
prediction = deeprec.predict('data/validation/Actor_10/03-02-05-02-02-02-10_angry.wav')
print(f"Prediction: {prediction}")
[+] Model created
[*] Model weights loaded
1/1 [==============================] - 0s 400ms/step
0.7538461538461538
extract_feature, did not work.
Metadata
Metadata
Assignees
Labels
No labels