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

How to return/store all counter examples? #68

Open
ytsao opened this issue Jul 22, 2024 · 2 comments
Open

How to return/store all counter examples? #68

ytsao opened this issue Jul 22, 2024 · 2 comments

Comments

@ytsao
Copy link

ytsao commented Jul 22, 2024

Hi,

The following screenshot is my testing example that is verified by alpha-beta-CROWN.
And I have two questions about the result.

  1. In PGD attack information, is there a typo? I think it should be examples instead of examles.

  2. The information shows there are 9 violations, is that possible to store all violation in text.cex.txt? I have tried to set save_adv_example as true in .yaml file. But there is only 1 counter example in the file.

Thanks!
Screenshot from 2024-07-22 10-13-43

@yizhake
Copy link

yizhake commented Sep 23, 2024

@ytsao
I encounter the same problem.
Do you have any solution?

@shizhouxing
Copy link
Member

You may modify the code to get more information about the counterexamples https://github.com/Verified-Intelligence/alpha-beta-CROWN/blob/main/complete_verifier/attack/attack_pgd.py#L489

@ytsao Thanks for spotting the typo and we'll fix it in the next release.

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

3 participants