GithubHelp home page GithubHelp logo

riiick2011 / weakactionloc Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jalayrac/weakactionloc

0.0 1.0 0.0 38 KB

Code release of our NeurIPS 18 paper "A flexible model for training action localization with varying levels of supervision"

Python 94.52% Shell 5.48%

weakactionloc's Introduction

Code for the paper A Flexible Model for Training Action Localization with Varying Levels of Supervision, NIPS 2018

Created by Jean-Baptiste Alayrac and Guilhem Chéron at INRIA, Paris.

Introduction

The webpage for this project is available here. It contains link to the paper, and other material about the work. This code reproduces the results presented in Table 1 of the paper for our method.

License

Our code is released under the MIT License (refer to the LICENSE file for details).

Cite

If you find this code useful in your research, please, consider citing our paper:

@InProceedings{actoraction18, author = {Ch'eron, Guilhem and Alayrac, Jean-Baptiste and Laptev, Ivan and Schmid, Cordelia}, title = {A Flexible Model for Training Action Localization with Varying Levels of Supervision}, booktitle = {Neural Information Processing Systems (NIPS)}, year = {2018} }

Contents

  1. Requirements
  2. Running the code

Requirements

We run the code under python 2.7 with the following dependencies:

  • numpy
  • tqdm
  • mosek (for which you'll need a license)
  • pickle
  • scikit-learn
  • scipy

Running

  1. Clone this repo and go to the generated folder
git clone https://github.com/jalayrac/weak_action_loc.git
cd weak_action_loc
  1. Download and unpack the preprocessed features needed for the desired experiment in the data folder:
  • UCF101-24 (11 GiB)

    mkdir -p data
    cd data
    wget https://www.di.ens.fr/willow/research/weakactionloc/UCF101-24.tar.gz
    tar -xzvf UCF101-24.tar.gz
    cd ..
  • DALY (48 GiB)

  mkdir -p data
  cd data
  wget https://www.di.ens.fr/willow/research/weakactionloc/DALY.tar.gz
  tar -xzvf DALY.tar.gz
  cd ..
  1. To obtain the results, you need to first run the traning code to obtain the parameters of the model, and then run the evaluation code:
Dataset Video level Shot level Temporal point Temporal Temporal + spatial points 1 BB Temp. + 1 BB Temp. + 3 BBs Fully supervised
UCF101-24 script - script script script script script script script
DALY script script - script - script script script -

NB: we provide the calibration files (threshold values) that were obtained by validation as described in the paper. We will release the code for this calibration in a future release.

weakactionloc's People

Contributors

jalayrac avatar gcheron avatar

Watchers

James Cloos 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.