Coder Social home page Coder Social logo

andrster1 / kernelized_rank_pool Goto Github PK

View Code? Open in Web Editor NEW

This project forked from anoopcherian/kernelized_rank_pool

0.0 1.0 0.0 76 KB

Implementation of variants of kernelized rank pooling for action recognition in videos.

License: MIT License

MATLAB 100.00%

kernelized_rank_pool's Introduction

Implementation of Kernelized Rank Pooling variants. If you use this code, please cite our paper:

Non-Linear Temporal Subspace Representations for Activity Recognition,
A. Cherian, S. Sra, S. Gould, and R. Hartley, CVPR 2018.

This code implements:

  1. Basic Kernelized Rank Pooling (BKRP)
  2. Improved Basic Kernelized Rank Pooling (IBKRP)
  3. Kernelized Rank Pooling with Feature Subspaces (KRP-FS)
  4. Rank Pooling (Video Darwin)
  5. Linear (Video Darwin, but implemented using a linear kernel)

For bugs and comments, email Anoop Cherian at [email protected]. Copyright (c) 2018, Anoop Cherian. All rights reserved.



Note: The following code shows a demo implementation and usage of KRP schemes on the JHMDB dataset split 1. JHMDB uses VGG-16 fc6 features (available in the bundle). Data for HMDB dataset ResNet-152 two stream features are available separately.



Dependencies:
The code has the following dependencies which you have to download separately and unzip to appropriate folders.

  1. LibLinear version 2:
  2. ManOpt Package
  3. LibSVM version 3.14

All the above are available for download from http://users.cecs.anu.edu.au/~cherian/code/krp_fs.zip.



A link to HMDB dataset ResNet-152 features for RGB and Flow is available at http://users.cecs.anu.edu.au/~cherian/



How to run the code?
Run demo_krp() in Matlab to see the usage. The code runs KRP on JHMDB dataset split 1. Tested on Matlab 2018.



DISCLAIMER
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

kernelized_rank_pool's People

Contributors

anoopcherian avatar

Watchers

 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.