Skip to content

The code for CVPR2019 (ComDefend: An Efficient Image Compression Model to Defend Adversarial Examples)

Notifications You must be signed in to change notification settings

zhjikoshlizhzc/Comdefend

This branch is 6 commits behind jiaxiaojunQAQ/Comdefend:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

e633e6a · Apr 14, 2019

History

9 Commits
Mar 31, 2019
Mar 31, 2019
Mar 31, 2019
Mar 31, 2019
Mar 31, 2019
Mar 30, 2019
Mar 31, 2019
Mar 30, 2019
Apr 14, 2019
Mar 31, 2019
Mar 31, 2019
Mar 31, 2019
Mar 31, 2019
Mar 31, 2019

Repository files navigation

Comdefend

The code for CVPR2019 (ComDefend: An Efficient Image Compression Model to Defend Adversarial Examples) paper

Environmental configuration

tensorflow>=1.1
python3
canton(pip install canton)

The keras and pytorch of the code will be released soon.

Description

clean_image: we select 7 clean images which are classified correctly by the classifier
attack_image: we select 7 adversarial images which are attacked by the FGSM method
defend_image: we use the Comdefend to deal with 7 adversarial images
chackpoints: the model parameters
com_imagenet_temp, temp_imagenet: the temporary files of the Comdefend
dev.csv: correspondence between images and labels
Resnet_imagenet.py: the classifier
compression_imagenet.py: the Comdefend for Imagenet
compression_mnist.py: the Comdefend for fashion_mnist

In addition

E-mail: [email protected] or [email protected]

About

The code for CVPR2019 (ComDefend: An Efficient Image Compression Model to Defend Adversarial Examples)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%