forked from advboxes/AdvBox
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
root
committed
Aug 9, 2019
1 parent
1a06e1a
commit 7824de7
Showing
3 changed files
with
10 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
|
||
Data Poison Attack desc. | ||
|
||
mnist_paddle.py: The clean progress of train and verify with paddlepaddle framework. | ||
poison_mnist_paddle.py: The data poison attack example with paddlepaddle. On one hand, it can be almost the same accuracy with unpoison, on the other hand, we can only poison about 5 percent of the dataset and complish a target attack, after poisoning, the model can be mislead from '3' to '4' when the trigger appears in the test picture. | ||
poison_mnist_pytorch.py: The clean and poison code with PyTorch framework. | ||
|
||
Usage: | ||
Install the right version of PyTorch(>=v0.4) and PaddlePaddle(>=v1.5). | ||
just run "Python xxx.py" |
File renamed without changes
File renamed without changes.