capsule-networks

胶囊网络的Tensorflow实现l(A Tensorflow implementation of Capsule Networks)

  • Owner: bourdakos1/capsule-networks
  • Platform: Linux, Mac, Windows
  • License:: MIT License
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

Capsule Networks

A Tensorflow implementation of Capsule Networks

For more information on Capsule Networks please read my Medium article.

[Update] Check out my new article with a deeper explanation on how capsules work.

This repo was largely based off of naturomics CapsNet-Tensorflow repo with the current differences being an added requirements.txt and the MNIST dataset is included. Power users may want to refer to the naturomics repo for the latest versions.

Usage

Install the requirements and download dataset:

pip install -r requirements.txt
python download_data.py

Start training!

python main.py

Testing Accuracy

python main.py --is_training False

Visualization

Check out this Visualization Tool I built to play around with the DigitCaps vectors to see how it effects the recontructions:

Main metrics

Overview
Name With Ownerbourdakos1/capsule-networks
Primary LanguagePython
Program languagePython (Language Count: 1)
PlatformLinux, Mac, Windows
License:MIT License
所有者活动
Created At2017-11-10 00:03:43
Pushed At2018-02-15 16:52:08
Last Commit At2018-02-15 11:52:07
Release Count0
用户参与
Stargazers Count477
Watchers Count42
Fork Count156
Commits Count11
Has Issues Enabled
Issues Count10
Issue Open Count8
Pull Requests Count0
Pull Requests Open Count0
Pull Requests Close Count0
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private