adversarial_lab icon indicating copy to clipboard operation
adversarial_lab copied to clipboard

Addition of Projected Gradient Descent Attack Algorithm

Open Heril18 opened this issue 2 years ago • 0 comments

Addition of Projected Gradient Descent Attack Algorithm

Task - Implementation and setting up of PGD Algorithm in the source code and its deployment on the main website.

Difficulty Level : Intermediate

Steps to be followed -

  • Add the respective attack function to attack.py file.
  • The function should be of the following framework -
def pgd(parameters):
	model body
	return dict()
  • Create the app-route python decorator for the algorithm in the app.py file.
  • The function should be of the following framework -
@app.route('/pgd', methods=['GET'])
def pgd():
    return render_template('pgd.html')
  • Create the HTML template file (pgd.html) for the respective algorithm in the template folder

Resources to be followed

Heril18 avatar Oct 10 '22 12:10 Heril18