Skip to content

Commit

Permalink
add
Browse files Browse the repository at this point in the history
  • Loading branch information
duoergun0729 committed Aug 8, 2019
1 parent 48c8f22 commit 1a06e1a
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Advbox Family is a series of AI model security tools set of Baidu Open Source,including the generation, detection and protection of adversarial examples, as well as attack and defense cases for different AI applications.

## AdvSDK:A Lightweight Adv SDK For PaddlePaddle
## AdvSDK

A Lightweight Adv SDK For PaddlePaddle to generate adversarial examples.

Expand Down
20 changes: 18 additions & 2 deletions advsdk/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#ADVSDK
# ADVSDK
ADVSDK是一款针对PaddlePaddle框架定制的轻量级SDK。目前支持学术届和工业界公认的基线测试算法,并且支持输出$L_0$、$L_2$和$L_(inf)$并可视化。
## 支持算法

Expand All @@ -8,4 +8,20 @@ ADVSDK是一款针对PaddlePaddle框架定制的轻量级SDK。目前支持学
## 使用教程
全部教程使用jupter编写,方便使用和阅读。

[攻击AlexNet](sdk_demo_alexnet.ipynb)
- [攻击AlexNet](sdk_demo_alexnet.ipynb)

- [攻击ResNet](sdk_demo.ipynb)

## 模型文件地址
https://github.com/PaddlePaddle/models/tree/develop/PaddleCV/image_classification

wget http://paddle-imagenet-models-name.bj.bcebos.com/ResNet50_pretrained.tar
tar -xvf ResNet50_pretrained.tar

[更多模型](https://github.com/PaddlePaddle/models/tree/develop/PaddleCV)

## 初始化环境

pip install opencv-python
pip install paddlepaddle==1.5

0 comments on commit 1a06e1a

Please sign in to comment.