Skip to content
/ HDRR Public

Official implementation for Hierarchical Deep Residual Reasoning for Temporal Moment Localization

License

Notifications You must be signed in to change notification settings

ddlBoJack/HDRR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hierarchical Deep Residual Reasoning for Temporal Moment Localization

Official implementation for Hierarchical Deep Residual Reasoning for Temporal Moment Localization

Model Pipeline

model-pipeline

Usage

Environment Settings

We use the PyTorch framework.

  • Python version: 3.6
  • PyTorch version: 1.6

Get Code

Clone the repository:

git clone https://github.com/ddlBoJack/HDRR.git
cd HDRR

Data Preparation

Datasets

We preprocess the data in the same way as MIGCN do.

Semantic Role Labeling

Once you get the data above, you need to do semantic role labeling using allennlp:

cd code
python semantic_role_labeling.py

Training

Train HDRR on Charades-STA/ActivityNet with various features:

python main.py

Testing

Test HDRR on Charades-STA/ActivityNet with various features:

python main.py --test --model_load_path

Other Hyper-parameters

List other hyper-parameters by:

python main.py -h

Reference

Please cite the following paper if HDRR is helpful for your research.

@article{ma2021hierarchical,
  title={Hierarchical Deep Residual Reasoning for Temporal Moment Localization},
  author={Ma, Ziyang and Han, Xianjing and Song, Xuemeng and Cui, Yiran and Nie, Liqiang},
  journal={arXiv preprint arXiv:2111.00417},
  year={2021}
}

About

Official implementation for Hierarchical Deep Residual Reasoning for Temporal Moment Localization

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages