shenmbsw / Behavior_recognization

ICPR 2010 Contest on Semantic Description of Human Activities

Home Page:http://cvrc.ece.utexas.edu/SDHA2010/Human_Interaction.html#Data

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Final project for EC720: ICPR 2010 Contest on Semantic Description of Human Activities

Copyright <2017> Shen Shen

the data base and the task is provided at: http://cvrc.ece.utexas.edu/SDHA2010/Human_Interaction.html#Data

The challenge is to recognize ongoing human activities from continuous videos.

Andrej Karpathy's work PLarge-scale Video Classification with Convolutional Neural Networks provided me the inspiration of how to design a CNN network to do the behavior of a frame by aquire the information of not only one frame but also frames in a time span.

Execution

  1. Down load data set and save in the master root.
  2. Execute src/first.py

3D CNN is trained by tensorflow, so the data should be provide in batch style. seq_data_generators read the numpy array of each video segment and provide them as a dictionary to feed in main_3dconv.py. main_3dconv.py produce the trained model and it provide training loss and validation accuracy in a tensorflow graph file. Use tensor broad to see the training log. The my_script.sh is for runing all those code on SCC.

2D CNN is trained by caffe, the modify the leave k out.sh file to produce leave k out dataset. all the decode frame should be labeled and saperate in different folder in caffe_train/all. after runing the script, a train.txt indicating the path of all train file and a test.txt file will be generated.

About

ICPR 2010 Contest on Semantic Description of Human Activities

http://cvrc.ece.utexas.edu/SDHA2010/Human_Interaction.html#Data


Languages

Language:Jupyter Notebook 73.5%Language:Python 26.0%Language:Shell 0.5%