This is the official implementation of the paper "D2R: Dual-Branch Dynamic Routing Network for Multimodal Sentiment Detection", which is accepted by EMNLP 2024. (https://aclanthology.org/2024.emnlp-main.207/)
The experiments were conducted on a single GeForce RTX 3090 GPU with 24GB memory.
- Python 3.7.16
- PyTorch 1.7.1
- CUDA 11.2
To run the code, you need to install the requirements:
pip install -r requirements.txt
At last, you can run the below code:
bash run.sh
If you use or extend our work, please cite the paper as follows:
@inproceedings{chen2024d2r,
title={D2r: Dual-branch dynamic routing network for multimodal sentiment detection},
author={Chen, Yifan and Li, Kuntao and Mai, Weixing and Wu, Qiaofeng and Xue, Yun and Li, Fenghuan},
booktitle={Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing},
pages={3536--3547},
year={2024}
}