-
Notifications
You must be signed in to change notification settings - Fork 10
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 in tutorial 3 #11
Comments
Hi, do you get this error locally? I pull the master branch and didn't encounter the error. I think Matt may have some change to the evaluation file that causes the error message. If you don't get any error, we will find out the cause and update the notebook tomorrow. |
All cells ran for me except for the last: I'm not clear on what the reported loss is. The first part of the notebook says "Average successful loss value". What is meant by "successful" here? Shouldn't it just be loss for the whole batch? |
Ah, sorry, that cell should've been deleted in my last commit to that file: I originally was going to use CrossEntropy as the evaluation metric I'd monkeypatch in the "Custom Evaluation Techniques" section of the tutorial. That cell should've been deleted and, upon the most recent commit, is. As far as average successful loss, I've also changed the wording to be more clear. In general, the definition we use is: Evaluation of attacks and defenses is nuanced, in that there's three classes of things that matter:
If the attack is not successful against a classifier, I argue that we don't particularly care what the quality of the generated (unsuccessful) adversarial example is, so by default we only support loss functions against the successful images. If you'd like to care about batch-loss, you can either monkey patch it in, submit a pull request with that added in, or ask me and I'll get around to it in a bit (opening a separate issue is probably best so I don't forget about it). |
It's the saved output. The tail of the error is:
NameError: name 'attack_examples' is not defined
The text was updated successfully, but these errors were encountered: