All Projects → jimmie33 → Caffe Excitationbp

jimmie33 / Caffe Excitationbp

Licence: other
Implementation of Excitation Backprop in Caffe

Projects that are alternatives of or similar to Caffe Excitationbp

Ipywidgets Static
[obsolete] Static Widgets for IPython Notebooks
Stars: ✭ 105 (-0.94%)
Mutual labels:  jupyter-notebook
Tensorflow 2.0 Quick Start Guide
Tensorflow 2.0 Quick Start Guide, published by Packt
Stars: ✭ 106 (+0%)
Mutual labels:  jupyter-notebook
Ml Course Hse
Машинное обучение на ФКН ВШЭ
Stars: ✭ 1,800 (+1598.11%)
Mutual labels:  jupyter-notebook
Time Series Forecasting With Python
A use-case focused tutorial for time series forecasting with python
Stars: ✭ 105 (-0.94%)
Mutual labels:  jupyter-notebook
Harry potter nlp
Harry Potter and the Allocation of Dirichlet
Stars: ✭ 106 (+0%)
Mutual labels:  jupyter-notebook
Stream
STREAM: Single-cell Trajectories Reconstruction, Exploration And Mapping of single-cell data
Stars: ✭ 106 (+0%)
Mutual labels:  jupyter-notebook
Openomni
Documentation and library for decoding omnipod communications.
Stars: ✭ 105 (-0.94%)
Mutual labels:  jupyter-notebook
Are You Fake News
Bias detection in the news. Back and front end for areyoufakenews.com
Stars: ✭ 105 (-0.94%)
Mutual labels:  jupyter-notebook
Self Driving Car
A End to End CNN Model which predicts the steering wheel angle based on the video/image
Stars: ✭ 106 (+0%)
Mutual labels:  jupyter-notebook
Sklearn tutorial
Materials for my scikit-learn tutorial
Stars: ✭ 1,521 (+1334.91%)
Mutual labels:  jupyter-notebook
Cross Lingual Voice Cloning
Tacotron 2 - PyTorch implementation with faster-than-realtime inference modified to enable cross lingual voice cloning.
Stars: ✭ 106 (+0%)
Mutual labels:  jupyter-notebook
Mcmc pydata london 2019
PyData London 2019 Tutorial on Markov chain Monte Carlo with PyMC3
Stars: ✭ 105 (-0.94%)
Mutual labels:  jupyter-notebook
Deep Learning Interview
深度学习面试汇总,基本知识点的查漏补缺
Stars: ✭ 106 (+0%)
Mutual labels:  jupyter-notebook
Makeittalk
Stars: ✭ 105 (-0.94%)
Mutual labels:  jupyter-notebook
Msu Datascience Ml Tutorial 2018
Machine learning with Python tutorial at MSU Data Science 2018
Stars: ✭ 106 (+0%)
Mutual labels:  jupyter-notebook
Intro machine learning
Introduction to Machine Learning, a series of IPython Notebook and accompanying slideshow and video
Stars: ✭ 105 (-0.94%)
Mutual labels:  jupyter-notebook
Research Methods For Data Science With Python
Research Methods for Data Science with Python
Stars: ✭ 106 (+0%)
Mutual labels:  jupyter-notebook
Jupyterworkflow
Reproducible Data Analysis Workflow in Jupyter
Stars: ✭ 106 (+0%)
Mutual labels:  jupyter-notebook
Dog Breeds Classification
Set of scripts and data for reproducing dog breed classification model training, analysis, and inference.
Stars: ✭ 105 (-0.94%)
Mutual labels:  jupyter-notebook
Cc6204
Material del curso de Deep Learning de la Universidad de Chile
Stars: ✭ 106 (+0%)
Mutual labels:  jupyter-notebook

Caffe-ExcitationBP

This is a Caffe implementation of Excitation Backprop described in

Jianming Zhang, Zhe Lin, Jonathan Brandt, Xiaohui Shen, Stan Sclaroff. "Top-down Neural Attention by Excitation Backprop." ECCV, 2016. (oral)

This software implementation is provided for academic research and non-commercial purposes only. This implementation is provided without warranty. The Excitation Backprop method described in the above paper and implemented in this software is patent-pending by Adobe.

Prerequisites

  1. The same prerequisites as Caffe
  2. Anaconda (python packages)

Quick Start

  1. Unzip the files to a local folder (denoted as root_folder).
  2. Enter the root_folder and compile the code the same way as in Caffe.
  • Our code is tested in GPU mode, so make sure to activate the GPU code when compiling the code.
  • Make sure to compile pycaffe, the python interface
  1. Enter root_folder/ExcitationBP, run demo.ipynb using the python notebook. It will automatically download the pre-trained GoogleNet model for COCO and show you how to compute the contrastive attention map. For details for running the python notebook remotely on a server, see here.

Other comments

  1. We also implemented the gradient based method and the deconv method compared in our paper. See demo.ipynb.
  2. We implemented both GPU and CPU version of Excitation Backprop. Change caffe.set_mode_eb_gpu() to caffe.set_mode_eb_cpu() to run the CPU version.
  3. Our pre-train model is modified to be fully convolutional, so that images of any size and aspect raioe can be directly processed.
  4. To apply your own CNN model, you need to modify the deploy.prototxt according to root_folder/models/COCO/deploy.prototxt. Basically, you need to add a dummy loss layer at the end of the file. Make sure to remove any dropout layers.
  5. (New) We have made some modifications to make our method work on ResNet like models. When handling EltwiseLayer, we ignore the bottom input corresponding to the skip link. We find that this works better than splitting the signals.

Supplementary data

  1. Image lists for COCO and VOC07, including sublists for the difficult images used in the paper: download
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].