All Projects → XifengGuo → CapsNet-Fashion-MNIST

XifengGuo / CapsNet-Fashion-MNIST

Licence: MIT license
Capsule Network on Fashion MNIST dataset

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to CapsNet-Fashion-MNIST

Capsnet Keras
A Keras implementation of CapsNet in NIPS2017 paper "Dynamic Routing Between Capsules". Now test error = 0.34%.
Stars: ✭ 2,428 (+2510.75%)
Mutual labels:  capsnet, capsnet-keras
MNIST-multitask
6️⃣6️⃣6️⃣ Reproduce ICLR '18 under-reviewed paper "MULTI-TASK LEARNING ON MNIST IMAGE DATASETS"
Stars: ✭ 34 (-63.44%)
Mutual labels:  fashion-mnist
Capsnet Nlp
CapsNet for NLP
Stars: ✭ 66 (-29.03%)
Mutual labels:  capsnet
Dynamic routing between capsules
Implementation of Dynamic Routing Between Capsules, Sara Sabour, Nicholas Frosst, Geoffrey E Hinton, NIPS 2017
Stars: ✭ 202 (+117.2%)
Mutual labels:  capsnet
Variational Capsule Routing
Official Pytorch code for (AAAI 2020) paper "Capsule Routing via Variational Bayes", https://arxiv.org/pdf/1905.11455.pdf
Stars: ✭ 84 (-9.68%)
Mutual labels:  capsnet
gans-2.0
Generative Adversarial Networks in TensorFlow 2.0
Stars: ✭ 76 (-18.28%)
Mutual labels:  fashion-mnist
Capsnet
CapsNet (Capsules Net) in Geoffrey E Hinton paper "Dynamic Routing Between Capsules" - State Of the Art
Stars: ✭ 423 (+354.84%)
Mutual labels:  capsnet
Pytorch Generative Model Collections
Collection of generative models in Pytorch version.
Stars: ✭ 2,296 (+2368.82%)
Mutual labels:  fashion-mnist
LSTM-GRU-from-scratch
LSTM, GRU cell implementation from scratch in tensorflow
Stars: ✭ 30 (-67.74%)
Mutual labels:  fashion-mnist
Capsnet Traffic Sign Classifier
A Tensorflow implementation of CapsNet(Capsules Net) apply on german traffic sign dataset
Stars: ✭ 166 (+78.49%)
Mutual labels:  capsnet
Capsule Net Pytorch
[NO MAINTENANCE INTENDED] A PyTorch implementation of CapsNet architecture in the NIPS 2017 paper "Dynamic Routing Between Capsules".
Stars: ✭ 158 (+69.89%)
Mutual labels:  capsnet
Capsnet guide pytorch
A tutorial-style implementation of CapsNet in PyTorch
Stars: ✭ 104 (+11.83%)
Mutual labels:  capsnet
playing with vae
Comparing FC VAE / FCN VAE / PCA / UMAP on MNIST / FMNIST
Stars: ✭ 53 (-43.01%)
Mutual labels:  fashion-mnist
Matrix Capsules With Em Routing
A TensorFlow implementation of "Matrix Capsules with EM Routing" by Hinton et al. (2018).
Stars: ✭ 74 (-20.43%)
Mutual labels:  capsnet
Tensorflow Generative Model Collections
Collection of generative models in Tensorflow
Stars: ✭ 3,785 (+3969.89%)
Mutual labels:  fashion-mnist
Capsnet Pytorch
PyTorch implementation of NIPS 2017 paper Dynamic Routing Between Capsules
Stars: ✭ 440 (+373.12%)
Mutual labels:  capsnet
Capsnet
A PyTorch implementation of CapsNet based on NIPS 2017 paper "Dynamic Routing Between Capsules"
Stars: ✭ 141 (+51.61%)
Mutual labels:  capsnet
clothing-detection-ecommerce-dataset
Clothing detection dataset
Stars: ✭ 43 (-53.76%)
Mutual labels:  fashion-mnist
Fashion Mnist
A MNIST-like fashion product database. Benchmark 👇
Stars: ✭ 9,675 (+10303.23%)
Mutual labels:  fashion-mnist
pytorch-deepfashion
pytorch implementation of the deepfashion architecture (https://www.cv-foundation.org/openaccess/content_cvpr_2016/papers/Liu_DeepFashion_Powering_Robust_CVPR_2016_paper.pdf)
Stars: ✭ 35 (-62.37%)
Mutual labels:  fashion-mnist

CapsNet-Fashion-MNIST

License

A Keras implementation of CapsNet in the paper:
Sara Sabour, Nicholas Frosst, Geoffrey E Hinton. Dynamic Routing Between Capsules. NIPS 2017

This code is adopted from CapsNet-Keras to test the performance of CapsNet on Fashion-MNIST

Contacts
Xifeng Guo
E-mail [email protected] or WeChat wenlong-guo.

Usage

Step 1. Install Keras 2.0.9 with TensorFlow backend.

pip install tensorflow-gpu
pip install keras==2.0.9

Step 2. Clone this repository to local.

git clone https://github.com/XifengGuo/CapsNet-Fashion-MNIST.git
cd CapsNet-Fashion-MNIST

Step 3. Train a CapsNet on Fashion-MNIST

Training with default settings:

$ python capsulenet.py

Data preprocessing:

  • scale pixel values to [0,1];
  • shift 2 pixels and horizontal flipping augmentation.

Results

Accuracy

Test Accuracy: 93.62%

Losses and accuracies:

Training Speed

About 120s / epoch on a single GTX 1070 GPU.

Reconstruction result

Top 5 rows are real images from MNIST and Bottom are corresponding reconstructed images.

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