Closed byerose closed 2 years ago
difgsm.py
Examples:: >>> attack = torchattacks.DI2FGSM(model, eps=8/255, alpha=2/255, steps=20, decay=0.0, resize_rate=0.9, diversity_prob=0.5, random_start=False) >>> adv_images = attack(images, labels)
should be attack = torchattacks.DIFGSM(...)
attack = torchattacks.DIFGSM(...)
Thank you for your comment!
difgsm.py
should be
attack = torchattacks.DIFGSM(...)