From 1a4e4abd417a8ad1cd4e79ca10d26658378e4b56 Mon Sep 17 00:00:00 2001 From: Nataniel Ruiz Date: Tue, 24 Dec 2019 13:19:16 -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 cbf3f79..5c8b88c 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=20, a=0.01, feat = None): + def __init__(self, model=None, device=None, epsilon=0.05, k=1, a=0.05, feat = None): self.model = model self.epsilon = epsilon self.k = k