Skip to content

Generates adversarial examples against Google's Inception v3 model.

Notifications You must be signed in to change notification settings

cgyulay/adversarial-attacks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

adversarial-attacks

Uses PyTorch to generate adversarial images against Google's Inception v3 model. Code based off Roman Trusov's repo. Experiments were run in support of the paper Adversarial Attacks in Machine Learning.

Usage

An installation of PyTorch is assumed. Examples can then be generated by running adversarial.py. Input images as well as attack types (targeted vs. non-targeted) can be specified within this file.

$ python adversarial.py

Examples

Fast gradient sign attack with epsilon=0.05. fgsm

Iterative non-targeted attack with epsilon=0.05. non-targ

Iterative targeted attack with epsilon=0.02. The attack was successful given the target class "cello." targ

About

Generates adversarial examples against Google's Inception v3 model.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published