add video-text retrieval

This commit is contained in:
root
2022-02-27 01:53:45 +00:00
parent 85f8057269
commit fe95e577d9
3 changed files with 372 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
video_root: '/export/share/dongxuli/data/msrvtt_retrieval/videos'
ann_root: 'annotation'
# set pretrained as a file path or an url
pretrained: 'https://storage.googleapis.com/sfr-vision-language-research/BLIP/models/model_base_retrieval_coco.pth'
# size of vit model; base or large
vit: 'base'
batch_size: 64
k_test: 128
image_size: 384
num_frm_test: 8