Closed AmingWu closed 6 years ago
When I use FGSM with Pytorch, it does not classify wrong. fmodel = foolbox.models.PyTorchModel(inception, bounds=(0, 255), num_classes=1000) attack = foolbox.attacks.FGSM(fmodel) adversarial = attack(img, label=label)
Can you give more details. Full code (minimal example) including expected and actual output.
Assuming this has been solved.
When I use FGSM with Pytorch, it does not classify wrong. fmodel = foolbox.models.PyTorchModel(inception, bounds=(0, 255), num_classes=1000) attack = foolbox.attacks.FGSM(fmodel) adversarial = attack(img, label=label)