Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Tristan-Hao authored Sep 29, 2018
1 parent 0336b56 commit c53a8e0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,5 @@ adv字样的为攻击样本,diff为在原图中扰动的部分,orig为原图
本例中仅生成大小为224*224的攻击样本,会对原始图片进行缩放和裁剪,所以输出并不是原图比例

- 使用GPU运行
如果需要使用GPU,命令行需要加--use_gpu=True ,另外还要提前设置环境变量

export WITH_GPU=1
如果需要使用GPU,命令行需要加--use_gpu=True ,另外还要提前设置环境变量export WITH_GPU=1

0 comments on commit c53a8e0

Please sign in to comment.