Skip to content

Commit

Permalink
resnet50
Browse files Browse the repository at this point in the history
  • Loading branch information
sunbing7 committed Jun 12, 2023
1 parent dd9509e commit 839d205
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src_torch/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,12 @@ def moth():
epsilon, k, a = 0.1, 8, 0.02
elif args.dataset == 'fmnist':
epsilon, k, a = 8/255, 7, 2/255
elif args.dataset == 'mnistm':
epsilon, k, a = 8/255, 7, 2/255
elif args.dataset == 'asl':
epsilon, k, a = 8/255, 7, 2/255
elif args.dataset == 'caltech':
epsilon, k, a = 8/255, 7, 2/255

# hardening iterations
max_warmup_steps = warmup_steps * num_classes
Expand Down

0 comments on commit 839d205

Please sign in to comment.