Skip to content

Commit 8c2d998

Browse files
author
Beat Buesser
committed
Update default value for nb_epochs in AdversarialTrainerMadryPGD
- to match 80'000 training steps of Madry et al. Signed-off-by: Beat Buesser <[email protected]>
1 parent f73029b commit 8c2d998

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

art/defences/trainer/adversarial_trainer_madry_pgd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class AdversarialTrainerMadryPGD(Trainer):
5454
def __init__(
5555
self,
5656
classifier: "CLASSIFIER_LOSS_GRADIENTS_TYPE",
57-
nb_epochs: Optional[int] = 391,
57+
nb_epochs: Optional[int] = 205,
5858
batch_size: Optional[int] = 128,
5959
eps: Union[int, float] = 8,
6060
eps_step: Union[int, float] = 2,

0 commit comments

Comments
 (0)