Nmegha2601 / activitygraph_transformer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Activity Graph Transformer for Temporal Action Localization

This repository contains the implementation of Activity Graph Transformers. The paper is available here or at the project website.


Model

See the following image for an overview of the architecture of Activity Graph Transformer.

Model Overview AGT


Getting Started

  1. Clone the respository.
https://github.com/Nmegha2601/activitygraph_transformer.git

  1. Use Conda to install Python3. Create a new environment in conda, and install dependencies from requirements.txt.
conda create --name agt_env --file requirements.txt

  1. Extract I3D features. We used this to extract the features for each of the dataset in .npy format. Place the extracted features in data/thumos/i3d_feats

  2. Run the code using the following command. This will start training a model on the dataset. The checkpoints and training log will be saved in an automatically created directory output. To reproduce the results, use the hyperparameters mentioned in the Appendix section of the paper.

bash run_scripts/run_agt.sh


Contact

For further questions, please email Megha Nawhal.

About

License:MIT License


Languages

Language:Python 98.0%Language:Shell 2.0%