Skip to content

Possible bug in L2 norm computation #2

@lllAlexanderlll

Description

@lllAlexanderlll

Hi,

Great paper! I enjoyed reading it.
I'm wondering wether there is a bug in https://github.com/copenlu/xai-benchmark/blob/master/saliency_gen/interpret_grads_occ.py#L35,
since actually the L1 norm is calculated and for the L2 norm p should be set to 2?

Cheers,
Alex

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