Skip to content

esdrascosta/Matrix-Capsules

Repository files navigation

!!! NOTES: THIS IS AN ONGOING PROJECT !!!

Matrix Capsules with EM Routing

A PyTorch implementation of Matrix Capsules with EM Routing

German Traffic Sign Recognition Benchmark (GTSRB)

Objective

The objective of this project is to use a very good reference Matrix Capsules implementation to experiment on German Traffic Sign Recognition Benchmark (GTSRB)

Usage

  1. Install PyTorch and dependencies
pip install -r requirements.txt
  1. Start training
python train.py

Test and confusion matrix

python confusion_matrix.py

By defaul it will load _final_gray_model.pth pretrained model

Run Fast Gradient Sign Attack (Adversarial atack)

python adversarial_test.py

Reference

About

Matrix Capsules experiment on German Traffic Sign Recognition Benchmark (GTSRB)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages