- create a new environment using conda or pip (We use Python 3.10.16)
pip install -r requirements.txt
The three datasets (CMU-MOSI, CMU-MOSEI, and AMI) are available from this link: https://pan.baidu.com/s/1_-D5YO_cblNIbnwDJXo0BA 提取码:dw3x
To run our preprocessing and training codes directly, please put the necessary files from downloaded data in separate folders as described below.
code/data/
mosi/together/
audio
text
visual
mosei/
audio/hubert-FRA
text/roberta-4-FRA
visual
ami/
audio
text
visual
After that, you should move the data from ami to mosi/mosei data directory, respectively.
python code/run.py
--dataset mosei(default: mosi, option: [mosei, mosi])
--lab_num 16326(for mosei, it is 16326; for mosi, it is 1284)
--pretrain
Step 1:
python code/run.py
--dataset mosei
--k 3236(for mosei, it is the size of ami dataset; for mosi, it is 40)
--generate_pseudo(store true)
Step 2:
python code/run.py
--dataset mosei
--retrain(store true)
--lab_num 16326(for mosei, it is 16326; for mosi, it is 1284)