This repository contains the code for MASA.
All of the dependencies are in the requirements.txt. You can build the environment with the following command:
conda create --name <env> --file requirements.txt
We provide the default hyperparameters in params.py, you can modify it to try different hyperparamters. To run the code in this folder, please follow the instructions below.
- Set the data_path in param.py to the path of MOSI or MOSEI dataset.
- Set the save_path in param.py to to any path you perfer to save the ckeckpoint and results.
- Run
python run.py
To load the checkpoint or results, please follow the instructions below.
- Set the ckpt_path to the path of checkpoint you want to load.
- Set the res_path to the path of results you want to load or write.
- Run
python stats.py
The pre-processed data is downloadable at: