You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Addition of back-end functionality for Feature-Squeezing
Task - Create a new file with a function implementing the Feature-Squeezing technique for detecting whether the uploaded image is adversarially perturbed or not.
Difficulty Level - Hard
Steps to be followed -
Create a new file named "detection.py"
In the newly created file, add a function named "feature_squeeze" which would take as input an image and would output a boolean value indicating whether the input image is adversarially perturbed. It should be following the framework -
def feature_squeeze():
model body
return boolean
For creating the "feature_squeeze" function refer to the paper Feature Squeezing: Detecting Adversarial Examples in Deep Neural Networks
Create the app-route python decorator for the algorithm in the app.py file.
The function should be of the following framework -
Addition of back-end functionality for Feature-Squeezing
Task - Create a new file with a function implementing the Feature-Squeezing technique for detecting whether the uploaded image is adversarially perturbed or not.
Difficulty Level - Hard
Steps to be followed -
Resources to be followed -
The text was updated successfully, but these errors were encountered: