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

Tutorial For One Pixel Attack #77

Open
3 tasks
mehulrastogi opened this issue Aug 31, 2021 · 3 comments
Open
3 tasks

Tutorial For One Pixel Attack #77

mehulrastogi opened this issue Aug 31, 2021 · 3 comments
Assignees
Labels
good first issue Good for newcomers Priority:Medium Medium Priority Tutorials Used for Tutorials

Comments

@mehulrastogi
Copy link
Contributor

mehulrastogi commented Aug 31, 2021

Noting down the list of tasks to be completed for the tutorial. The implementation for the attack is in #65 .

Paper Link

For the sake of simplicity right now focusing on one model and one dataset. (VGG16 , CIFAR10(less noisy than kaggle cifar10) )

@mehulrastogi mehulrastogi added good first issue Good for newcomers Priority:Medium Medium Priority Tutorials Used for Tutorials labels Aug 31, 2021
@mehulrastogi
Copy link
Contributor Author

mehulrastogi commented Aug 31, 2021

The following can be used to get useful stats for the tutorial
`

    attack_image = obj.perturbation_image(attack_result.x, image)
    prior_probs = obj.model_predict(image)
    predicted_probs = self.model_predict(attack_image)
    predicted_class = np.argmax(predicted_probs)
    actual_class = original_label
    success = predicted_class != actual_class
    cdiff = prior_probs[actual_class] - predicted_probs[actual_class]

`

@Shreyas-Bhat
Copy link
Contributor

Hey, I would like to work on this

@someshsingh22
Copy link
Member

someshsingh22 commented Sep 2, 2021

great @Shreyas-Bhat you can take it up, comment on #78 and #79 too so we can assign it to you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers Priority:Medium Medium Priority Tutorials Used for Tutorials
Projects
None yet
Development

No branches or pull requests

3 participants