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

Issue with seed #16

Open
himanshubeniwal opened this issue Apr 5, 2023 · 1 comment
Open

Issue with seed #16

himanshubeniwal opened this issue Apr 5, 2023 · 1 comment

Comments

@himanshubeniwal
Copy link

I think the seed is not working correctly. I just rant the same demo twice, and the results vary for both runs. Same for all the attacks, the ASR and CACC are different for different runs.

Is this the case? or am I missing something?

@lifan-yuan
Copy link
Collaborator

The seed in the config doesn't work before, so we have removed the key from the config files. Now, you can set seed by running python demo_attack.py --seed SEED and then you will get the same result for different runs.

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