Skip to content

Torch implemantation of the fast gradient method #1211

Description

@amirhagai

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions