Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug #1

Open
13luoyu opened this issue Jul 11, 2022 · 1 comment
Open

bug #1

13luoyu opened this issue Jul 11, 2022 · 1 comment

Comments

@13luoyu
Copy link

13luoyu commented Jul 11, 2022

Hi, In train.py there is a problem, the class "DualNetwork" is not defined.

@sungyoon-lee
Copy link
Owner

sungyoon-lee commented Jul 11, 2022

Hi @13luoyu,

We do not recommend use this code or (https://github.com/huanzhang12/CROWN-IBP/blob/master/train.py) to run CAP (https://arxiv.org/abs/1711.00851). We recommend using the original implementation (https://github.com/locuslab/convex_adversarial) for CAP.

Quick Fix:
You may comment out the lines 203 and 441 where DualNetwork is used, or delete the whole CAP parts

if kwargs["bound_type"] == "convex-adv":
    ...

We will fix the bug accordingly.

Thanks,
Sungyoon Lee

sungyoon-lee added a commit that referenced this issue Jul 11, 2022
Fix the bug #1 (temporary)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants