PerryXDeng / detecting-adversarial-patches-capsule-networks

tensorflow expeirments with architecture described in "Matrix Capsules with EM Routing" by Hinton et al. (2018).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Implementation of "Matrix Capsules with EM Routing"

A TensorFlow implementation of Hinton's paper Matrix Capsules with EM Routing by Perry Deng.

E-mail: perry.deng@mail.rit.edu

This implementation experiments with modifications to Hinton's implementation, the main ones being:

  1. affine instead of linear vote calculation
  2. dropout and dropconnect capsule layers
  3. detection of adversarial patches using reconstruction networks

Acknowledgements

  1. Jonathan Hui's blog, "Understanding Matrix capsules with EM Routing (Based on Hinton's Capsule Networks)"
  2. Questions and answers on OpenReview, "Matrix capsules with EM routing"
  3. Suofei Zhang's implementation on GitHub, "Matrix-Capsules-EM-Tensorflow" 
  4. Guang Yang's implementation on GitHub, "CapsulesEM"
  5. A. Gritzman's implementation

About

tensorflow expeirments with architecture described in "Matrix Capsules with EM Routing" by Hinton et al. (2018).

License:Apache License 2.0


Languages

Language:Jupyter Notebook 65.9%Language:Python 33.6%Language:Shell 0.5%