项目作者: esdrascosta

项目描述 :
Matrix Capsules experiment on German Traffic Sign Recognition Benchmark (GTSRB)
高级语言: Python
项目地址: git://github.com/esdrascosta/Matrix-Capsules.git
创建时间: 2019-05-14T01:49:22Z
项目社区:https://github.com/esdrascosta/Matrix-Capsules

开源协议:MIT License

下载


!!! 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

    1. pip install -r requirements.txt
  2. Start training

    1. python train.py

Test and confusion matrix

  1. python confusion_matrix.py

By defaul it will load _final_gray_model.pth pretrained model

Run Fast Gradient Sign Attack (Adversarial atack)

  1. python adversarial_test.py

Reference