bethgelab / foolbox

A Python toolbox to create adversarial examples that fool neural networks in PyTorch, TensorFlow, and JAX
https://foolbox.jonasrauber.de
MIT License
2.79k stars 426 forks source link

how to use GaussianBlurAttack #705

Closed muyuuuu closed 1 year ago

muyuuuu commented 1 year ago

https://github.com/bethgelab/foolbox/blob/master/foolbox/attacks/blur.py#L46-L54

could you give me a demo? I don't know how to create criterion

muyuuuu commented 1 year ago

sorry