byerose / DynamicDiverseTransformations

Code for paper "Dynamic and Diverse Transformations for Defending Against Adversarial Examples".

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DynamicDiverseTransformations

Code for paper "Dynamic and Diverse Transformations for Defending Against Adversarial Examples".

Getting started

Let's start by installing all dependencies.

pip install -r requirement.txt

Retrained Model

You can get the retrained model from Baidu Netdisk

Deploy the Defense

Run the defense using python our_defense.py, or check our defense in our_defense.ipynb file.

About

Code for paper "Dynamic and Diverse Transformations for Defending Against Adversarial Examples".


Languages

Language:Python 97.3%Language:Jupyter Notebook 2.7%