advboxes / AdvBox

Advbox is a toolbox to generate adversarial examples that fool neural networks in PaddlePaddle、PyTorch、Caffe2、MxNet、Keras、TensorFlow and Advbox can benchmark the robustness of machine learning models. Advbox give a command line tool to generate adversarial examples with Zero-Coding.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Some python packages have version conflicts

DrRyanHuang opened this issue · comments

commented

I found requirements.txt and requirements-gpu.txt out of date, which some packages cant download, and not support Python 3.8.

I change some lines, do like this:

conda create -n advbox python=3.7
git clone https://github.com/baidu/AdvBox.git
pip install -r requirements.txt -i https://mirror.baidu.com/pypi/simple

requirements.txt and requirements-gpu.txt should be like this:

absl-py
astor==0.7.1
backports.functools-lru-cache==1.5
backports.weakref==1.0.post1
certifi==2018.8.24
cycler==0.10.0
enum34==1.1.6
funcsigs==1.0.2
futures==3.1.1
gast
grpcio==1.15.0
h5py==2.8.0
Keras
Keras-Applications
Keras-Preprocessing
kiwisolver==1.0.1
Markdown
matplotlib
mock==2.0.0
numpy
pbr==4.2.0
Pillow==5.2.0
protobuf==3.6.1
pyparsing==2.2.0
python-dateutil==2.7.3
pytz==2018.5
PyYAML==3.13
scipy==1.1.0
six==1.11.0
subprocess32==3.5.2
tensorboard
tensorflow-gpu==1.15
termcolor==1.1.0
Werkzeug==0.14.1