From 18f407cf0a188ab867c11d791a7e8a12355d3b88 Mon Sep 17 00:00:00 2001 From: Nataniel Ruiz Date: Wed, 25 Dec 2019 21:34:25 -0400 Subject: [PATCH] next --- cyclegan/util/attacks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cyclegan/util/attacks.py b/cyclegan/util/attacks.py index 18b90cd..a33cb97 100644 --- a/cyclegan/util/attacks.py +++ b/cyclegan/util/attacks.py @@ -7,7 +7,7 @@ import torch import torch.nn as nn class LinfPGDAttack(object): - def __init__(self, model=None, epsilon=0.05, k=1, a=0.05): + def __init__(self, model=None, epsilon=0.05, k=20, a=0.01): self.model = model self.epsilon = epsilon self.k = k