GitXplorerGitXplorer
r

pytorch-nips2017-defense-example

public
10 stars
3 forks
0 issues

Commits

List of commits on branch master.
Unverified
6d23403f7e5b7db2234762bd578e08be5961fc77

Create README.md

rrwightman committed 7 years ago
Unverified
60e1ed87ee7b295a98033c1a0d165d665bf667d5

Create LICENSE.txt

rrwightman committed 7 years ago
Unverified
69bda992be6d9d657749cc9d090be9944eefd8b1

Cleanup and tweaks, update input scanner with latest

rrwightman committed 7 years ago
Unverified
4930971eb70c07be337cca67cec8ac5288a2cd95

Initial commit, working pytorch example defence

rrwightman committed 7 years ago

README

The README file for this repository.

pytorch-nips2017-defense-example

This is a baseline, null defense that works within the Cleverhans (https://github.com/tensorflow/cleverhans) framework for the NIPS-2017 adversarial competition. It is intended to be equivalent to the 'base_inception_model' in the sample_defenses but using PyTorch instead of Tensorflow.

To run:

  1. Setup and verify cleverhans nips17 adversarial competition example environment
  2. Clone this repo
  3. Run ./download_checkpoint.sh to download the inceptionv3 checkpoint from torchvision model zoo
  4. Symbolic link the folder this repo was clone into into the cleverhans 'examples/nips17_adversarial_competition/sample_defenses/' folder
  5. Run run_attacks_and_defenses.sh but ensure '--gpu' flag is added