All Projects → dlpbc → Keras Kinetics I3d

dlpbc / Keras Kinetics I3d

Licence: mit
keras implementation of inflated 3d from Quo Vardis paper + weights

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Keras Kinetics I3d

Okutama Action
Okutama-Action: An Aerial View Video Dataset for Concurrent Human Action Detection
Stars: ✭ 36 (-68.97%)
Mutual labels:  action-recognition
Daps
This repo allocate DAPs code of our ECCV 2016 publication
Stars: ✭ 74 (-36.21%)
Mutual labels:  action-recognition
Video Dataset Loading Pytorch
Generic PyTorch Dataset Implementation for Loading, Preprocessing and Augmenting Video Datasets
Stars: ✭ 92 (-20.69%)
Mutual labels:  action-recognition
Resgcnv1
ResGCN: an efficient baseline for skeleton-based human action recognition.
Stars: ✭ 50 (-56.9%)
Mutual labels:  action-recognition
Hake Action
As a part of the HAKE project, includes the reproduced SOTA models and the corresponding HAKE-enhanced versions (CVPR2020).
Stars: ✭ 72 (-37.93%)
Mutual labels:  action-recognition
Vidvrd Helper
To keep updates with VRU Grand Challenge, please use https://github.com/NExTplusplus/VidVRD-helper
Stars: ✭ 81 (-30.17%)
Mutual labels:  action-recognition
Video Classification 3d Cnn Pytorch
Video classification tools using 3D ResNet
Stars: ✭ 874 (+653.45%)
Mutual labels:  action-recognition
Movienet Tools
Tools for movie and video research
Stars: ✭ 113 (-2.59%)
Mutual labels:  action-recognition
Tdn
[CVPR 2021] TDN: Temporal Difference Networks for Efficient Action Recognition
Stars: ✭ 72 (-37.93%)
Mutual labels:  action-recognition
Temporal Segment Networks
Code & Models for Temporal Segment Networks (TSN) in ECCV 2016
Stars: ✭ 1,287 (+1009.48%)
Mutual labels:  action-recognition
Training toolbox caffe
Training Toolbox for Caffe
Stars: ✭ 51 (-56.03%)
Mutual labels:  action-recognition
Epic Kitchens 55 Action Models
EPIC-KITCHENS-55 baselines for Action Recognition
Stars: ✭ 68 (-41.38%)
Mutual labels:  action-recognition
M Pact
A one stop shop for all of your activity recognition needs.
Stars: ✭ 85 (-26.72%)
Mutual labels:  action-recognition
Chinesetrafficpolicepose
Detects Chinese traffic police commanding poses 检测中国交警指挥手势
Stars: ✭ 49 (-57.76%)
Mutual labels:  action-recognition
3d Resnets
3D ResNets for Action Recognition
Stars: ✭ 95 (-18.1%)
Mutual labels:  action-recognition
Action Recognition Using 3d Resnet
Use 3D ResNet to extract features of UCF101 and HMDB51 and then classify them.
Stars: ✭ 32 (-72.41%)
Mutual labels:  action-recognition
Hake Action Torch
HAKE-Action in PyTorch
Stars: ✭ 74 (-36.21%)
Mutual labels:  action-recognition
Modelfeast
Pytorch model zoo for human, include all kinds of 2D CNN, 3D CNN, and CRNN
Stars: ✭ 116 (+0%)
Mutual labels:  action-recognition
Tdd
Trajectory-pooled Deep-Convolutional Descriptors
Stars: ✭ 99 (-14.66%)
Mutual labels:  action-recognition
Video classification pytorch
Video Classification based on PyTorch
Stars: ✭ 89 (-23.28%)
Mutual labels:  action-recognition

keras-kinetics-i3d

Keras implementation (including pretrained weights) of Inflated 3d Inception architecture reported in the paper Quo Vadis, Action Recognition? A New Model and the Kinetics Dataset.

Original implementation by the authors can be found in this repository.

Sample Data (for Evaluation)

Similar to the original implementation, we evaluate the keras models using the RGB sample and Optical Flow sample (processed from video data) provided in the repository of the authors (see the data/ directory). Details about the preprocessing techniques applied to the data are specified in the authors' repository.

Usage

python evaluate_sample.py

or

[For help]
python evaluate_sample.py -h

With default flags settings, the evaluate_sample.py script builds two I3d Inception architecture (2 stream: RGB and Optical Flow), loads their respective pretrained weights and evaluates RGB sample and Optical Flow sample obtained from video data.

You can set flags to evaluate model using only one I3d Inception architecture (RGB or Optical Flow) as shown below:

# For RGB
python evaluate_sample.py --eval-type rgb

# For Optical Flow
python evaluate_sample.py --eval-type flow

Addtionally, as described in the paper (and the authors repository), there are two types of pretrained weights for RGB and Optical Flow models respectively. These are;

  • RGB I3d Inception:
    • Weights Pretrained on Kinetics dataset only
    • Weights pretrained on Imagenet and Kinetics datasets
  • Optical Flow I3d Inception:
    • Weights Pretrained on Kinetics dataset only
    • Weights pretrained on Imagenet and Kinetics datasets

The above usage examples loads weights pretrained on Imagenet and Kinetics datasets. To load weight pretrained on Kinetics dataset only add the flag --no-imagenet-pretrained to the above commands. See an example below:


# RGB I3d Inception model pretrained on kinetics dataset only
python evaluate_sample.py --eval-type rgb --no-imagenet-pretrained

Requirements

  • Keras
  • Keras Backend: Tensorflow (tested) or Theano (not tested) or CNTK (not tested)
  • h5py

License

  • All code in this repository are licensed under the MIT license as specified by the LICENSE file.
  • The i3d (rgb and flow) pretrained weights were ported from the ones released Deepmind in this repository under Apache-2.0 License
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].