Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
447 changes: 447 additions & 0 deletions GeMAPs/gemaps_dataset_impro_scenario_1.csv

Large diffs are not rendered by default.

504 changes: 504 additions & 0 deletions GeMAPs/gemaps_dataset_impro_scenario_2.csv

Large diffs are not rendered by default.

669 changes: 669 additions & 0 deletions GeMAPs/gemaps_dataset_impro_scenario_3.csv

Large diffs are not rendered by default.

580 changes: 580 additions & 0 deletions GeMAPs/gemaps_dataset_impro_scenario_4.csv

Large diffs are not rendered by default.

625 changes: 625 additions & 0 deletions GeMAPs/gemaps_dataset_impro_scenario_5.csv

Large diffs are not rendered by default.

412 changes: 412 additions & 0 deletions GeMAPs/gemaps_dataset_impro_scenario_6.csv

Large diffs are not rendered by default.

751 changes: 751 additions & 0 deletions GeMAPs/gemaps_dataset_impro_scenario_7.csv

Large diffs are not rendered by default.

930 changes: 930 additions & 0 deletions GeMAPs/gemaps_dataset_scripted_scenario_1.csv

Large diffs are not rendered by default.

350 changes: 350 additions & 0 deletions GeMAPs/gemaps_dataset_scripted_scenario_2.csv

Large diffs are not rendered by default.

693 changes: 693 additions & 0 deletions GeMAPs/gemaps_dataset_scripted_scenario_3.csv

Large diffs are not rendered by default.

621 changes: 621 additions & 0 deletions GeMAPs/gemaps_dataset_scripted_scenario_4.csv

Large diffs are not rendered by default.

864 changes: 864 additions & 0 deletions GeMAPs/gemaps_dataset_scripted_scenario_5.csv

Large diffs are not rendered by default.

636 changes: 636 additions & 0 deletions GeMAPs/gemaps_dataset_scripted_scenario_6.csv

Large diffs are not rendered by default.

846 changes: 846 additions & 0 deletions GeMAPs/gemaps_dataset_scripted_scenario_7.csv

Large diffs are not rendered by default.

Binary file added HuBERT/1i.pt
Binary file not shown.
Binary file added HuBERT/1s.pt
Binary file not shown.
Binary file added HuBERT/2i.pt
Binary file not shown.
Binary file added HuBERT/2s.pt
Binary file not shown.
Binary file added HuBERT/3i.pt
Binary file not shown.
Binary file added HuBERT/3s.pt
Binary file not shown.
Binary file added HuBERT/4i.pt
Binary file not shown.
Binary file added HuBERT/4s.pt
Binary file not shown.
Binary file added HuBERT/5i.pt
Binary file not shown.
Binary file added HuBERT/5s.pt
Binary file not shown.
Binary file added HuBERT/6i.pt
Binary file not shown.
Binary file added HuBERT/6s.pt
Binary file not shown.
Binary file added HuBERT/7i.pt
Binary file not shown.
Binary file added HuBERT/7s.pt
Binary file not shown.
File renamed without changes.
10,040 changes: 10,040 additions & 0 deletions multimodal-dac/EDA_Dataset_with_filebases.csv

Large diffs are not rendered by default.

896 changes: 896 additions & 0 deletions multimodal-dac/R01.ipynb

Large diffs are not rendered by default.

21 changes: 21 additions & 0 deletions multimodal-dac/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
- This folder contains the training code (in Python Jupyter notebooks) for current uni-modal (text-only or audio-only) models trained on either scripted or improvised data from the IEMOCAP dataset (Busso et al., 2008)

- We also use the dialog acts (DAs) annotated by (Bothe et al., 2020) and publically available on their [GitHub repo](https://github.com/bothe/EDAs). The labels have already been downloaded and can be found in `multimodal-dac/eda_iemocap_no_utts_dataset.csv` and `multimodal-dac/EDA_Dataset.csv`. You will also require the full IEMOCAP dataset in the root folder of the script with the path `IEMOCAP_full_release/` to access transcripts, audio files, video files, etc.

# Instructions to run training scripts for unimodal results
1. To run the training scripts, you can create a [conda environment](https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html) from the `requirements.txt` file. Or, if you come across complications, I recommend creating a new conda environment and downloading packages are you require them. You will definitely need a compatible recent version of PyTorch and HuggingFace transformers library.

2. The main training scripts are in Python Jupyter notebooks

2a. *iemocap_dataset_preprocessing.ipynb*\
This script looks through the IEMOCAP dataset and splits it into improvised and scripted subsets. There are some interesting (to say kindly) heuristics that I took to decide how to split into train/val/test so that there is not any data leakage between the splits (you don't want data you've already seen in the training set to be in the validation dataset). I definitely recommend looking at this code carefully and potential refine it.

2b. *train_audio.ipynb*\
This script takes in the audio .wav files from IEMOCAP, extracts [GeMAPs features](https://sail.usc.edu/publications/files/eyben-preprinttaffc-2015.pdf) (think features such as pitch that may hold important semantic meaning in audio data). These have already been extracted and found in files `gemaps_xxx.csv`. You can see at the bottom how this is done, and feel free to experiment with different feature sets. The rest of the cells pretty much can be run in order to take the pre-processing steps, training, and evaluation.

2c. *train_text.ipynb*\
This script is very similar to `train_audio.ipynb` script, but with textual features (using [RoBERTa transformer encoder model](https://huggingface.co/FacebookAI/roberta-large) to get these features).




File renamed without changes.
File renamed without changes.
Loading