Skip to content
/ MUSE Public

Code implementation of paper "MUSE: Mamba is Efficient Multi-scale Learner for Text-video Retrieval"

License

Notifications You must be signed in to change notification settings

hrtang22/MUSE

Repository files navigation

MUSE: Mamba is Efficient Multi-scale Learner for Text-video Retrieval

Paper

This is an official implementation of MUSE built on model CLIP4clip.

MUSE

Requirement

# Pytorch version
conda install pytorch==1.13.1 torchvision==0.14.1 torchaudio==0.13.1 pytorch-cuda=11.7 -c pytorch -c nvidia
# From CLIP4clip
pip install ftfy regex tqdm
pip install opencv-python boto3 requests pandas

Install Causal_conv1d and Mamba_ssm following Vim.

Data Preparing

For MSRVTT

The official data and video links can be found in link.

For the convenience, you can also download the splits and captions by,

wget https://github.com/ArrowLuo/CLIP4Clip/releases/download/v0.0/msrvtt_data.zip

Besides, the raw videos can be found in sharing from Frozen️ in Time, i.e.,

wget https://www.robots.ox.ac.uk/~maxbain/frozen-in-time/data/MSRVTT.zip

Train MSR-VTT

bash train_msrvtt.sh

Acknowledgments

Our code is based on CLIP, CLIP4clip and Vim.

About

Code implementation of paper "MUSE: Mamba is Efficient Multi-scale Learner for Text-video Retrieval"

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published