Skip to content

Commit

Permalink
Change num epochs in CIFAR-10 TF2 tutorial to 8
Browse files Browse the repository at this point in the history
  • Loading branch information
steverab committed Mar 16, 2021
1 parent 7fcfa20 commit e3ea561
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tutorials/tf2/cifar10_tutorial.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def train_step(x, y):


if __name__ == "__main__":
flags.DEFINE_integer("nb_epochs", 200, "Number of epochs.")
flags.DEFINE_integer("nb_epochs", 8, "Number of epochs.")
flags.DEFINE_float("eps", 0.05, "Total epsilon for FGM and PGD attacks.")
flags.DEFINE_bool(
"adv_train", False, "Use adversarial training (on PGD adversarial examples)."
Expand Down

0 comments on commit e3ea561

Please sign in to comment.