Skip to content

sLdZ0306/CCR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CCR

Implementaion of the paper "Counterfactual Cross-modality Reasoning for Weakly Supervised Video Moment Localization" (ACM MM 2023).

Data preparation

Features for Charades-STA (by LGI) and for ActivityNet Captions. Download these features and put them into the corresponding directories in "\data". Refering to CPL for more details.

Training and inference

Train

# Charades-STA
python train.py --config-path config/charades/main.json --log_dir LOG_DIR --tag TAG --vote
# ActivityNet Captions
python train.py --config-path config/activitynet/main.json --log_dir LOG_DIR --tag TAG

Inference

python train.py --config-path CONFIG_FILE --resume CHECKPOINT_FILE --eval

About

Counterfactual Cross-modality Reasoning for Weakly Supervised Video Moment Localization

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages