Views
No views yet
conda create -n DLF python==3.9.13conda activate DLFpip install torch==1.13.0+cu117 torchvision==0.14.0+cu117 torchaudio==0.13.0 --extra-index-url https://download.pytorch.org/whl/cu117git clone https://github.com/pwang322/DLF.gitcd DLF
pip install -r requirements.txt./dataset directory and revise the path in ./config/config.json. For example, if the processed the MOSI dataset is located in ./dataset/MOSI/aligned_50.pkl. Please make sure "dataset_root_dir": "./dataset" and "featurePath": "MOSI/aligned_50.pkl".
Please note that the meta information and the raw data are not available due to the privacy of YouTube content creators. For more details, please follow the official website of these datasets../train.py as "mosei" or "mosi", and then run:python3 train.py./pt directory. You can change this in train.py../test.py as "mosei" or "mosi", and then test the trained model:python3 test.py@article{wang2024dlf,
title={DLF: Disentangled-Language-Focused Multimodal Sentiment Analysis},
author={Wang, Pan and Zhou, Qiang and Wu, Yawen and Chen, Tianlong and Hu, Jingtong},
journal={arXiv preprint arXiv:2412.12225},
year={2024}
}