From 6435aba0a983bbcd79b69ed928c8a95269c7019a Mon Sep 17 00:00:00 2001 From: Nataniel Ruiz Date: Tue, 24 Dec 2019 19:18:07 -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 fa2acf0..49a29ee 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