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.
Install the requirements and download dataset:
pip install -r requirements.txt
python download_data.pyStart training!
python main.pypython main.py --is_training FalseCheck out this Visualization Tool I built to play around with the DigitCaps vectors to see how it effects the recontructions:
