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

error running craft_attacks.py #5

Open
preetd14 opened this issue Mar 6, 2020 · 2 comments
Open

error running craft_attacks.py #5

preetd14 opened this issue Mar 6, 2020 · 2 comments

Comments

@preetd14
Copy link

preetd14 commented Mar 6, 2020

Hey! I really appreciate the work you have done in this paper and your efforts in keeping this repository up to date. I am trying to replicate this and I keep getting this error when I run craft_attacks.py:
Screen Shot 2020-03-05 at 7 51 56 PM

Can you please help me identify what I am doing wrong here?

@sgfin
Copy link
Owner

sgfin commented Mar 8, 2020

I suspect it might be a package version issue, as these libraries have changed quickly in the past few years.

Have you set up an environment using the provided yaml file? https://github.com/sgfin/adversarial-medicine/blob/master/pgd_attacks/pgd_environment.yaml

If not, please do that and try again.

@drodriguez3
Copy link

I did not see a cleverhans version in the yaml file, could you please provide the cleverhans version? Also, could you explain why the minimum clip value is set at -1 instead of 0?

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