Skip to content

Commit 336d633

Browse files
committed
added speech features to use as an argument in both classes
added `features` parameter in emotion_recognition.EmotionRecognizer() that indicates which speech features to use
1 parent 66e6842 commit 336d633

13 files changed

+27
-9
lines changed
-4.42 KB
Binary file not shown.
-8.43 KB
Binary file not shown.
-5.17 KB
Binary file not shown.
-14.3 KB
Binary file not shown.
-4.16 KB
Binary file not shown.
-17.9 KB
Binary file not shown.

__pycache__/models.cpython-36.pyc

-2.18 KB
Binary file not shown.
-2.05 KB
Binary file not shown.

__pycache__/utils.cpython-36.pyc

-3.27 KB
Binary file not shown.

data_extractor.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,7 @@ def shuffle_data(audio_paths, emotions, features):
225225

226226
def load_data(train_desc_files, test_desc_files, audio_config=None, classification=True, shuffle=True,
227227
balance=True, emotions=['sad', 'neutral', 'happy']):
228+
# instantiate the class
228229
audiogen = AudioExtractor(audio_config=audio_config, classification=classification, emotions=emotions,
229230
balance=balance, verbose=0)
230231
# Loads training data

0 commit comments

Comments
 (0)