Skip to content

Bab-Attack Enabled uses mask list instead of dictionaries #94

Description

@stijnradboud

Hello,

This is a follow-up possibly on the open issue posted by yusuf1013 last year.

It seems that if one setts bab-attack enabled to True in the config it invokes code in bab_attack.py rather than bab.py which uses a mismatched mask that is not compatible with files like kfsb.py and babsr.py because it creates masks and lowerbounds for the ReLUDomain as lists (see bab_attack.py lines 897-900) whereas kfsb.py expect masks etc. to be dictionaries (see kfsb.py lines 47-80).

My guess is this is invokes all sorts of types mismatching like the error posted by yusuf last year, which also happens when you run bab-attack reproduction code publised in the exp_configs/bab_attack's readme.

I am not sure if this is all really the cause of the issues, but hopefully this can be resolved.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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