dsgiitr/adversarial_lab

Addition of Projected Gradient Descent Attack Algorithm

Heril18 opened this issue · 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