GithubHelp home page GithubHelp logo

loretoparisi / capsnet Goto Github PK

View Code? Open in Web Editor NEW
444.0 40.0 109.0 97 KB

CapsNet (Capsules Net) in Geoffrey E Hinton paper "Dynamic Routing Between Capsules" - State Of the Art

License: MIT License

capsnet capsule-networks machine-learning deeplearning pytorch tensorflow keras lasagne mxnet chainer

capsnet's Introduction

CapsNet

CapsNet (Capsules Net) in Geoffrey E Hinton paper "Dynamic Routing Between Capsules"

Table of Contents

What's New

Webinar

Implementations By Dataset

Toxic Comment Challenge (Kaggle)

Abstract

We cover here the last and most interesting paper's abstract about Capsule Networks.

We introduce a new routing algorithm for capsule networks, in which a child capsule is routed to a parent based only on agreement between the parent's state and the child's vote. The new mechanism 1) designs routing via inverted dot-product attention; 2) imposes Layer Normalization as normalization; and 3) replaces sequential iterative routing with concurrent iterative routing. When compared to previously proposed routing algorithms, our method improves performance on benchmark datasets such as CIFAR-10 and CIFAR-100, and it performs at-par with a powerful CNN (ResNet-18) with 4x fewer parameters. On a different task of recognizing digits from overlayed digit images, the proposed capsule model performs favorably against CNNs given the same number of layers and neurons per layer. We believe that our work raises the possibility of applying capsule networks to complex real-world tasks. Our code is publicly available at: https://github.com/apple/ml-capsules-inverted-attention-routing An alternative implementation is available at: https://github.com/yaohungt/Capsules-Inverted-Attention-Routing/blob/master/README.md

Excerpt from CAPSULES WITH INVERTED DOT-PRODUCT ATTENTION ROUTING, Yao-Hung Hubert Tsai, , Nitish Srivastava, Hanlin Goh, Ruslan Salakhutdinov, ICLR 2020 🆕

UP

Documentation

Papers

UP

Articles

UP

Tutorials

Presentations

Webinar 🆕

Discussion Groups

Official Implementations

The implementations has been considered to be official since the authors were directly involved in the papers as co-authors or they had some references.

Proof of Work

Other Resources

Implementations by Framework

Pytorch

Pytorch + CUDA

Jupyter Notebook

Torch

Tensorflow

Keras

UP

MXNet

CNTK

Lasagne

Chainer

Matlab

R

C++

C

JavaScript

Vulcan

Other

UP

Implementations By Dataset

MNIST

IMDB Reviews

Cifar 10

BanglaLekha-Isolated Dataset:

Traffic Sign Dataset (German):

Iceberg Classification Challenge (Kaggle)

Toxic Comment Challenge (Kaggle)

UP

Implementations by Task

Text Classification

Speech Recognition

Emotion Recognition

Named Entity Recognition (NER)

Natural Language Processing (NLP)

UP

Translations

Japanese

Turkish

UP

capsnet's People

Contributors

ashleygritzman avatar brjathu avatar loretoparisi avatar mavanb avatar rnrneverdies avatar vandersonmr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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