From 04f100792bd21531192c8d9bad51ecfce5030c9e Mon Sep 17 00:00:00 2001 From: "bagus@pc-omen" Date: Fri, 20 Oct 2023 18:06:39 +0900 Subject: [PATCH] add pylatex to cfg --- data/ekorpus/exp.ini | 4 ++-- data/emofilm/exp.ini | 4 ++-- data/meld/README.md | 7 ++++--- data/meld/exp.ini | 4 ++-- setup.cfg | 1 + 5 files changed, 11 insertions(+), 9 deletions(-) diff --git a/data/ekorpus/exp.ini b/data/ekorpus/exp.ini index 0346be18..2f987528 100644 --- a/data/ekorpus/exp.ini +++ b/data/ekorpus/exp.ini @@ -1,6 +1,6 @@ [EXP] root = ./ -name = results/exp_ekorpus_aud +name = results/exp_ekorpus_wavlm save = True [DATA] databases = ['train', 'test'] @@ -21,7 +21,7 @@ labels = ['neutral', 'anger', 'joy', 'sadness'] # which of the data splits to re-sample: train, test or all (both) sample_selection = all [FEATS] -type = ['audmodel'] +type = ['wavlm-large'] scale = standard [MODEL] type = svm diff --git a/data/emofilm/exp.ini b/data/emofilm/exp.ini index bfdd8b18..304dd679 100644 --- a/data/emofilm/exp.ini +++ b/data/emofilm/exp.ini @@ -1,6 +1,6 @@ [EXP] root = ./ -name = results/exp_emofilm_wavlm +name = results/exp_emofilm_wavlm_4 save = True [DATA] databases = ['train', 'dev', 'test'] @@ -20,7 +20,7 @@ test.absolute_path = False test.split_strategy = test target = emotion no_reuse = True -labels =['fea', 'con', 'hap', 'ang', 'sad'] +labels =['fea', 'hap', 'ang', 'sad'] [FEATS] type = ['wavlm-large'] scale = standard diff --git a/data/meld/README.md b/data/meld/README.md index 1f5bf072..9cd3a769 100644 --- a/data/meld/README.md +++ b/data/meld/README.md @@ -2,7 +2,7 @@ Multimodal EmotionLines Dataset (MELD) has been created by enhancing and extending EmotionLines dataset. MELD contains the same dialogue instances available in EmotionLines, but it also encompasses audio and visual modality along with text. MELD has more than 1400 dialogues and 13000 utterances from Friends TV series. Multiple speakers participated in the dialogues. Each utterance in a dialogue has been labeled by any of these seven emotions -- Anger, Disgust, Sadness, Joy, Neutral, Surprise and Fear. MELD also has sentiment (positive, negative and neutral) annotation for each utterance [1]. -This worfklow assumes the dataset is download from [2]. +The dataset is available in [3]. This worfklow assumes the dataset is download from [2]. ```bash $ python3 process_database.py @@ -13,5 +13,6 @@ $ python3 -m nkululeko.nkululeko --config data/meld/exp.ini References: [1] S. Poria, D. Hazarika, N. Majumder, G. Naik, R. Mihalcea, E. Cambria. MELD: A Multimodal Multi-Party Dataset -for Emotion Recognition in Conversation. (2018) -[2] https://github.com/bagustris/multilingual_speech_emotion_recognition_datasets \ No newline at end of file +for Emotion Recognition in Conversation. (2018) +[2] https://github.com/bagustris/multilingual_speech_emotion_recognition_datasets +[3] https://github.com/declare-lab/MELD \ No newline at end of file diff --git a/data/meld/exp.ini b/data/meld/exp.ini index 5ad48958..a9dd9ea2 100644 --- a/data/meld/exp.ini +++ b/data/meld/exp.ini @@ -1,6 +1,6 @@ [EXP] root = ./ -name = results/exp_meld_wavlm +name = results/exp_meld_audmodel save = True ; epochs = 10 [DATA] @@ -28,7 +28,7 @@ labels = ['anger', 'joy', 'neutral', 'sadness'] [RESAMPLE] sample_selection = all [FEATS] -type = ['wavlm-large'] +type = ['audmodel'] scale = standard [MODEL] type = svm diff --git a/setup.cfg b/setup.cfg index db5969a9..3f416e28 100644 --- a/setup.cfg +++ b/setup.cfg @@ -42,5 +42,6 @@ install_requires = transformers umap-learn xgboost + pylatex python_requires = >=3.6 include_package_data = False \ No newline at end of file