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.
Apache License 2.0
1.38k stars 263 forks source link

How to use Deepfool and C&W in segmentation model? #81

Open LeopoldACC opened 2 years ago

LeopoldACC commented 2 years ago

Due to the implementation of Deepfool and C&W is for classifier which just have a 1xK dimension predict vector,but for segmentation model,the predict is a mask whose dimension is HxWxK.