File size: 1,594 Bytes
ee2574f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Reconstructed from the retained mPLUG-2 generation scripts and configs.
# This documents the settings used for the released semantic prompts; it is
# not a guarantee of bit-for-bit regeneration because the original processed
# frame snapshot and filesystem ordering are not redistributed.
caption_model:
  name: mPLUG-2
  upstream_repository: https://github.com/X-PLUG/mPLUG-2
  task: video_captioning
  checkpoint: mPLUG2_MSVD_Caption.pth
  checkpoint_description: MSVD-finetuned video-captioning checkpoint
  visual_encoder: ViT-L-14
  text_encoder: bert-large-uncased

visual_input:
  modality: RGB_frames_only
  frames_per_clip: 16
  sampling: uniformly_spaced_over_available_stored_frame_list
  frame_filename_order_explicitly_sorted: false
  resolution: 224
  normalization:
    mean: [0.48145466, 0.4578275, 0.40821073]
    std: [0.26862954, 0.26130258, 0.27577711]

decoding:
  method: deterministic_beam_search
  beam_size: 5
  minimum_length: 4
  maximum_length: 20
  length_penalty_alpha: 0.6
  random_seed: 42

postprocessing:
  configured_prompt: "a video of"
  note: >-
    A leading "a video of" phrase was removed from decoded output when it was
    present. The semantic_prompt column contains the resulting caption.

retained_generation_entry_points:
  AVE:
    script: video_caption_mplug2_AVE.py
    config: configs_video/VideoCaption_AVE.yaml
  Kinetics-Sounds:
    script: video_caption_mplug2_VGGsound.py
    config: configs_video/VideoCaption_Ksound.yaml
  VGGSound100:
    script: visualencoder_mplug2_VGGSound.py
    config: configs_video/VideoCaption_VGGsound.yaml