Skip to content

Commit

Permalink
Move CWL2 to CW as Adversarian suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
rikonaka committed Nov 29, 2023
1 parent a464809 commit 6ba76d4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions torchattacks/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@
from .attacks.pifgsmpp import PIFGSMPP

# L2 attacks
from .attacks.cw import CW
from .attacks.cwl0 import CWL0
from .attacks.cwl2 import CWL2
from .attacks.cwlinf import CWLinf
from .attacks.cwbs import CWBS
from .attacks.cwbsl0 import CWBSL0
from .attacks.cwbsl2 import CWBSL2
from .attacks.cwbslinf import CWBSLinf
from .attacks.pgdl2 import PGDL2
from .attacks.pgdrsl2 import PGDRSL2
Expand Down Expand Up @@ -85,11 +85,11 @@
"EADEN",
"PIFGSM",
"PIFGSMPP",
"CW",
"CWL0",
"CWL2",
"CWLinf",
"CWBS",
"CWBSL0",
"CWBSL2",
"CWBSLinf",
"PGDL2",
"DeepFool",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from ..attack import Attack


class CWL2(Attack):
class CW(Attack):
r"""
CW in the paper 'Towards Evaluating the Robustness of Neural Networks'
[https://arxiv.org/abs/1608.04644]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from ..attack import Attack


class CWBSL2(Attack):
class CWBS(Attack):
r"""
CW (binary search version) in the paper 'Towards Evaluating the Robustness of Neural Networks'
[https://arxiv.org/abs/1608.04644]
Expand Down

0 comments on commit 6ba76d4

Please sign in to comment.