Code Monkey home page Code Monkey logo

videomix's Introduction

videomix

Implementation of brand new video augmentation strategy for video action recognition with 3D CNN.

Tubemix is like a 'video-in-video' augmentation, and Stackmix is 'video-to-video'. Use videomix.py for implementing Tubemix and Stackmix.

Example

rgb "TableTennis" rgb "Archery"
rgb stackmix rgb tubemix
opt flow-u "TableTennis" opt flow-u "Archery"
opt flow-u stackmix opt flow-u tubemix

Experimental Result

Training on I3D with Stackmix and Tubemix augmentation.

* RCRF represents applying random crop and random flipping Probability of implementing Stackmix or Tubemix is fixed to p=0.5.

I've also explored how beta distribution effect on training accuracy. Figure below shows the PDF of &\lambda$~beta(α,α).

  • UCF-101
Augmentation method hyper-parameter Spatial Stream Temporal Stream
Baseline(RCRF) - 93.23% 91.36%
Tubemix α=8 93.97% 92.23%
Tubemix α=0.4 93.74% 93.02%
Tubemix α=2 93.52% 92.55%
Stackmix α=8 94.23% 92.68%
Stackmix α=0.4 94.29% 93.05%
Stackmix α=2 94.00% 92.84%
Stackmix α=1 93.97% 93.34%
  • HMDB-51
Augmentation method hyper-parameter Spatial Stream Temporal Stream
Baseline(RCRF) - 74.97% 75.62%
Tubemix α=8 74.05% 76.80%
Tubemix α=0.4 74.31% 77.12%
Tubemix α=2 73.79% 76.99%
Tubemix α=1 74.71% 77.06%
Stackmix α=8 73.59% 76.80%
Stackmix α=0.4 74.05% 77.25%
Stackmix α=2 74.58% 76.21%
Stackmix α=1 73.99% 75.88%

Apply on UCF-101, Stackmix and Tubemix could derive performance improvement(+1~2%) with UCF-101 datasets in both streams. However, when applied to HMDB-51, the performance of temporal stream was improved, but the performance of spatial stream was rather reduced.

Future work

  • Speed jittering augmentation is work in progress.

videomix's People

Contributors

jaychung0302 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

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.