Latest version (v0.1)

Installing AdverTorch itself

We developed AdverTorch under Python 3.6 and PyTorch 1.0.0 & 0.4.1. To install AdverTorch, simply run

pip install advertorch

or clone the repo and run

python install

To install the package in “editable” mode:

pip install -e .

Setting up the testing environments

Some attacks are tested against implementations in [Foolbox]( or [CleverHans]( to ensure correctness. Currently, they are tested under the following versions of related libraries.

conda install -c anaconda tensorflow-gpu==1.11.0
pip install git+
pip install Keras==2.2.2
pip install foolbox==1.3.2