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

Google Colab reported an error, how should I solve it? #3

Open
SuperCarryFu opened this issue May 23, 2022 · 4 comments
Open

Google Colab reported an error, how should I solve it? #3

SuperCarryFu opened this issue May 23, 2022 · 4 comments

Comments

@SuperCarryFu
Copy link

No description provided.

@cassidylaidlaw
Copy link
Owner

Can you provide any more details on the error? Like a screenshot or stack trace?

@SuperCarryFu
Copy link
Author

AttributeError Traceback (most recent call last)
in ()
3
4 # Display the successful adversarial examples.
----> 5 successful_advs, successful_origs = perturbation.collect_successful(model, normalizer)
6 successful_diffs = ((successful_advs - successful_origs) * 3 + 0.5).clamp(0, 1)
7 img_utils.show_images([successful_origs, successful_advs, successful_diffs])

AttributeError: 'tuple' object has no attribute 'collect_successful'

@SuperCarryFu
Copy link
Author

An error was reported in the last code block
recoloradv+stadv+delta

@cassidylaidlaw
Copy link
Owner

I believe it should be fixed now, let me know if you still have the issue!

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