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

Does all found x_final with dist <= self.epsilon is attacked successfully? #4

Closed
machanic opened this issue Jan 9, 2021 · 1 comment

Comments

@machanic
Copy link

machanic commented Jan 9, 2021

I notice you only use dist <= self.epsilon to indicate the success boolean. However, imaging a situation that the distance/distortion between self.x_final and original image is below predefined epsilon, but it is classified correctly by the classifier!
Are you sure this code can deal with this situation.
https://github.com/uclaml/RayS/blob/master/RayS.py#L77

@machanic machanic changed the title Does all found x_final is attacked successfully? Does all found x_final with dist <= self.epsilon is attacked successfully? Jan 9, 2021
@jinghuichen
Copy link
Collaborator

Please note that self.x_final is initialized far away from the original (dist = infty) and is only been updated when a successful attack is founded. Therefore your imagined case never happens.

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