I believe there is a mistake in this line in adversarial_deepfool.py
if value_i < value_l:
ri = value_i/np.linalg.norm(wi.numpy().flatten()) * wi
value_l = value_i # <--- this line should be added here since otherwise,t value_i is just always the last value in the for loop?
I believe there is a mistake in this line in adversarial_deepfool.py if value_i < value_l: ri = value_i/np.linalg.norm(wi.numpy().flatten()) * wi value_l = value_i # <--- this line should be added here since otherwise,t value_i is just always the last value in the for loop?