Coder Social home page Coder Social logo

ammieqi / dgam-weakly-supervised-action-localization Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bfshi/dgam-weakly-supervised-action-localization

0.0 2.0 0.0 11.57 MB

Code for our paper "Weakly-Supervised Action Localization by Generative Attention Modeling" (CVPR2020)

Python 99.64% Shell 0.36%

dgam-weakly-supervised-action-localization's Introduction

DGAM-Weakly-Supervised-Action-Localization

Code for our paper "Weakly-Supervised Action Localization by Generative Attention Modeling" by Baifeng Shi, Qi Dai, Yadong Mu, Jingdong Wang, CVPR2020.

Requirements

Required packges are listed in requirements.txt. You can install by running:

pip install -r requirements.txt

Dataset

We provide extracted features and corresponsing annotations for THUMOS14 (available here) and ActivityNet1.2 (here).

Before running the code, please download the target dataset and unzip it under /data.

Running

You can train your own model by running:

python train_all.py

Note that you can configure the hyperparameters in /lib/core/config.py.

To test your model, you shall first go to the file /lib/core/config.py and change the entries config.TEST.STATE_DICT_RGB and config.TEST.STATE_DICT_FLOW, then run:

python test.py

Citation

If you find our code useful, please consider citing:

@article{shi2020weakly,
  title={Weakly-Supervised Action Localization by Generative Attention Modeling},
  author={Shi, Baifeng and Dai, Qi and Mu, Yadong and Wang, Jingdong},
  journal={arXiv preprint arXiv:2003.12424},
  year={2020}
}

dgam-weakly-supervised-action-localization's People

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.