Skip to content

Commit

Permalink
add pylatex to cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
bagustris committed Oct 20, 2023
1 parent 8e8fcab commit 04f1007
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 9 deletions.
4 changes: 2 additions & 2 deletions data/ekorpus/exp.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[EXP]
root = ./
name = results/exp_ekorpus_aud
name = results/exp_ekorpus_wavlm
save = True
[DATA]
databases = ['train', 'test']
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions data/emofilm/exp.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[EXP]
root = ./
name = results/exp_emofilm_wavlm
name = results/exp_emofilm_wavlm_4
save = True
[DATA]
databases = ['train', 'dev', 'test']
Expand All @@ -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
Expand Down
7 changes: 4 additions & 3 deletions data/meld/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
for Emotion Recognition in Conversation. (2018)
[2] https://github.com/bagustris/multilingual_speech_emotion_recognition_datasets
[3] https://github.com/declare-lab/MELD
4 changes: 2 additions & 2 deletions data/meld/exp.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[EXP]
root = ./
name = results/exp_meld_wavlm
name = results/exp_meld_audmodel
save = True
; epochs = 10
[DATA]
Expand Down Expand Up @@ -28,7 +28,7 @@ labels = ['anger', 'joy', 'neutral', 'sadness']
[RESAMPLE]
sample_selection = all
[FEATS]
type = ['wavlm-large']
type = ['audmodel']
scale = standard
[MODEL]
type = svm
Expand Down
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,6 @@ install_requires =
transformers
umap-learn
xgboost
pylatex
python_requires = >=3.6
include_package_data = False

0 comments on commit 04f1007

Please sign in to comment.