Skip to content

KlayMa527/autovmr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AutoVMR:An Autonomous Event Generation and Localization Approach for Video Moment Retrieval

experiment result

experiment is stored in ./output

Installation

a. Requirements

pip install -r requirements.txt

b. Datasets

  • Download dataset from BaiduYun(vj2d). Place them into the 'feat' directory.

c. Pretrain weight and checkpoint

AutoVMR needs to go through three stages: SFT, Reward model training, and PPO training. Please follow the instructions below to train AutoVMR-7B model.

--  checkpoints
      --  clip
      --  ppo_ckp

      --  reward_model_ckp
          --  v_uniform
      --  sft_ckp
          --  vtimellm-vicuna-v1-5-7b-stage1
          --  vtimellm-vicuna-v1-5-7b-stage2
          --  vtimellm-vicuna-v1-5-7b-stage_sft
      --  vicuna-7b-v1.5
--  feat

--  scripts
      -- sft.sh
      -- reward_model.sh
      -- ppo.sh
      -- inference.sh

Getting Started

a. sft training

bash scripts/ppo.sh

b. ppo training

bash scripts/ppo.sh

c. val

bash scripts/val.sh

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published