Open gkysaad opened 3 years ago
Implemented fix to this issue: https://github.com/cleverhans-lab/cleverhans/issues/1211. The loss_fn used must only take 2 parameters (output and target).
loss_fn
This seems great. It'd help me if you could also make the same change in this call: https://github.com/cleverhans-lab/cleverhans/blob/master/cleverhans/torch/attacks/projected_gradient_descent.py#L123.
Implemented fix to this issue: https://github.com/cleverhans-lab/cleverhans/issues/1211. The
loss_fn
used must only take 2 parameters (output and target).