Giter VIP home page Giter VIP logo

willprice / two-stream-action-cnn-analysis Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 0.0 40.24 MB

:mortar_board: Undergraduate thesis on analysing two stream CNNs for action recognition using excitation backpropagation

Python 1.51% Jupyter Notebook 97.92% Shell 0.44% Makefile 0.07% MATLAB 0.05%
dnn cnn ebp attribution visualisation visualization python caffe convolutional-neural-networks action-recogntion

two-stream-action-cnn-analysis's Introduction

2SCNN Feature analysis

Working repository for feature analysis of 2SCNN

Models

Dependencies

  • Python 3
    • matplotlib
    • numpy
    • scipy
    • pandas
    • seaborn
    • click
    • skimage
  • Jupyter notebook (6.0)
  • IPykernel for Jupyter (5.0)
  • Bash
  • Caffe (Excitation BP fork), preferably built with GPU support.

Setup

  • Edit lib/config.py to point to your local excitation bp caffe installation, nets path (e.g. caffe/models, I like to keep mine in my home directory), and data root.

Repository overview

  • lib: Most of the meaty code lives in here, code for handling datasets, performing contrastive EBP, mapping from class ids to class names.
  • net_configs: Python library of configuration scripts defining settings peculiar to models.
  • scripts: Python CLI scripts for generating attention maps, stitching videos, graphing smoothness
  • generated: A few bash scripts live in here to call the python scripts that do most of the work.
  • notebooks: All the Jupyter notebooks used for experimental analysis reside here. They're meant to be run in numerical order. Notebooks with the same numerical prefix can be run in any order.
  • ./run_jupyter.sh is a helper script to setup my environment with the correct LD_LIBRARY_PATH and PATH env variables necessary to find Caffe, CuDNN etc.

Acknowledgments

The code for performing contrastive excitation backprop is from https://github.com/jimmie33/Caffe-ExcitationBP, I also took inspiration from the code used to overlay attention maps on images.

two-stream-action-cnn-analysis's People

Contributors

willprice avatar

Stargazers

 avatar  avatar

Watchers

 avatar  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.