EMCL can be easy to be incorporated into any existing methods.
- Python 3.7
- Pytorch 1.4.0
- Transformers 3.1.0
- Numpy 1.18.1
# Install the requirements
pip install -r requirements.txtThe video features can be found in sharing from MMT, i.e.,
# Create and move to mmt/data directory
mkdir data
cd data
# Download the video features
wget http://pascal.inrialpes.fr/data2/vgabeur/video-features/MSRVTT.tar.gz
wget http://pascal.inrialpes.fr/data2/vgabeur/video-features/activity-net.tar.gz
wget http://pascal.inrialpes.fr/data2/vgabeur/video-features/LSMDC.tar.gz
# Extract the video features
tar -xvf MSRVTT.tar.gz
tar -xvf activity-net.tar.gz
tar -xvf LSMDC.tar.gzpython -m train --config configs/*- This code implementation are adopted from MMT. We sincerely appreciate for their contributions. We sincerely appreciate for their contributions.