From 980689a089a3b51232d548ef324874afdb55c0dd Mon Sep 17 00:00:00 2001 From: Nataniel Ruiz Date: Tue, 24 Dec 2019 13:11:56 -0400 Subject: [PATCH] next --- stargan/attacks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stargan/attacks.py b/stargan/attacks.py index 5c8b88c..cbf3f79 100644 --- a/stargan/attacks.py +++ b/stargan/attacks.py @@ -7,7 +7,7 @@ import torch import torch.nn as nn class LinfPGDAttack(object): - def __init__(self, model=None, device=None, epsilon=0.05, k=1, a=0.05, feat = None): + def __init__(self, model=None, device=None, epsilon=0.05, k=20, a=0.01, feat = None): self.model = model self.epsilon = epsilon self.k = k