Skip to content

[NeurIPS 2024] Official implementation of the paper "Text-Infused Attention and Foreground-Aware Modeling for Zero-Shot Temporal Action Detection"

Notifications You must be signed in to change notification settings

YearangLee/Ti-FAD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

[NeurIPS 2024] Text-Infused Attention and Foreground-Aware Modeling for Zero-Shot Temporal Action Detection

This repository contains the official implementation code for the NeurIPS 2024 paper "Text-Infused Attention and Foreground-Aware Modeling for Zero-Shot Temporal Action Detection".

Installation

  1. Install the required packages
pip install  -r requirements.txt
  1. Install NMS
cd ./libs/utils
python setup.py install --user
cd ../..

Data Preparation

  • We utilize the feature for THUMOS14 and ActivityNet datasets from ActionFormer repository.
  • Please download these features using their link and extract them to the ./data folder.

Training and Evaluation

python train_eval.py ./configs/anet_i3d.yaml --output <output_name> --n <num_split>

Evaluation

python eval.py ./configs/anet_i3d.yaml ./ckpt/anet_i3d_<data_split>_<num_split>/ --n <num_split>

Acknowledgement

The codebase is based on ActionFormer and GroundingDINO. We thanks the authors for their efforts.

Citation

@article{lee2024text,
  title={Text-Infused Attention and Foreground-Aware Modeling for Zero-Shot Temporal Action Detection},
  author={Lee, Yearang and Kim, Ho-Joong and Lee, Seong-Whan},
  journal={Advances in Neural Information Processing Systems},
  volume={37},
  pages={9864--9884},
  year={2024}
}

About

[NeurIPS 2024] Official implementation of the paper "Text-Infused Attention and Foreground-Aware Modeling for Zero-Shot Temporal Action Detection"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published