Hi!
Thanks for that great library!
It seems like the torch implementation assumes that the given model had been trained with cross-entropy loss, line 80 at torch/attacks/fast_gradient_method.py.
In the TF version(as in the paper) one can specify the loss function, line 46 at tf2/attacks/fast_gradient_method.py and in the Function signature.
Thanks!
Hi!
Thanks for that great library!
It seems like the torch implementation assumes that the given model had been trained with cross-entropy loss, line 80 at torch/attacks/fast_gradient_method.py.
In the TF version(as in the paper) one can specify the loss function, line 46 at tf2/attacks/fast_gradient_method.py and in the Function signature.
Thanks!