CLAPS
CLAPS copied to clipboard
Question about the self.zero_grad() in function generate_adv() but not in generate_cont_adv()
Hello seanie,
I'm very interested with your "ADVERSARIAL PERTURBATIONS", but i'm not very sure about the influence of self.zero_grad() in the functions of models.py. May I ask about why it is in generate_adv() but not in generate_cont_adv()? Hope for your response! Thanks very much!