dsgiitr/adversarial_lab

Creation of new web page to demonstrate Feature-Squeezing

mr-sarthakgupta opened this issue · 0 comments

Creation of new web page to demonstrate Feature-Squeezing

Task - Creation of a web page following the same design pattern as the pages demonstrating attacks for demonstrating the Feature-Squeezing technique for detecting adversarial perturbations.

Difficulty Level - Intermediate

Steps to be followed -

  • Create a new file in the directory "adversarial_lab/template" named "feature_squeezing.html".
  • Make a copy of any web page demonstrating adversarial attacks(say fgsm.html) and make the following changes:
    1. Reduce the number of image display panels from two to one.
    2. Make the single image display panel centre-aligned.
    3. Remove the panel displaying the class assigned to the image by the deep-learning model, instead add a panel that would display whether the uploaded image is adversarially perturbed or not.