Coder Social home page Coder Social logo

silasxue / human-action-recognition-and-video-classification-using-svm-and-deep-cnn- Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mitpandya/human-action-recognition-and-video-classification-using-svm-and-deep-cnn-

0.0 2.0 0.0 28.91 MB

Python 0.55% HTML 99.45%

human-action-recognition-and-video-classification-using-svm-and-deep-cnn-'s Introduction

ML_Capstone ( Human Action Recognition and Video Classification using SVM and Deep-CNN )

code instructions

Please install requirement packages from requirements.txt file.
Please download data files from this site http://crcv.ucf.edu/data/UCF101/UCF101.rar

SVM

  1. To create train and test data for SVM run the following commands
    python split_data.py train python split_data.py test This will create train and test folder with relevant video frames.

  2. To train and test the above created data run the following command
    python walk.py

  3. To evaluate the results and create heatmap run
    python eval_results.py

Additionally you may use our already trained svm model (svm.pkl.gz ) on test data as mentioned above.

CNN

  1. To create train and test data for CNN run the following commands
    python split_data_cnn.py train python split_data_cnn.py test This will create train and test folder with relevant video frames.

  2. To convert our dataset according to Cifar10 format follow following steps
    git clone https://github.com/gskielian/PNG-2-CIFAR10 run ./resize-script.sh to resize image frames to 32*32 rgb pixels now run, python convert-images-to-cifar-format.py this will create batch file for train and test. Copy and paste these files to /tmp/cifar10-data/ folder

  3. Next train cifar10 model on our above created dataset
    python cifar10/cifar10_train.py

  4. To test from trained cifar10 model try
    python cifar10_eval.py

human-action-recognition-and-video-classification-using-svm-and-deep-cnn-'s People

Contributors

mhpandya avatar

Watchers

James Cloos avatar Ming Xue 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.