Skip to content

Commit

Permalink
updated experiments script
Browse files Browse the repository at this point in the history
  • Loading branch information
riceric22 committed Oct 31, 2018
1 parent 8073eb1 commit bedec6e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions examples/experiments.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@ epochs=60
schedule_length=20

# L2 ball arguments
norm_type=l2_normal
norm_eval=l2
norm_type=l1_median
norm_eval=l1
# norm_type=l2_normal
# norm_eval=l2

# MNIST parameters
prefix="tmp/mnist"
Expand All @@ -33,7 +35,7 @@ eps=0.1
# eps=1.58

# small, exact
# python examples/mnist.py --epsilon 1.58 --norm_train ${norm_eval} --norm_test ${norm_eval} ${parameters}
python examples/mnist.py --epsilon ${eps} --norm_train ${norm_eval} --norm_test ${norm_eval} ${parameters}

# all remaining experiments use an approximation for training with 50 projections
parameters="--proj 50 --norm_train ${norm_type} ${parameters}"
Expand Down

0 comments on commit bedec6e

Please sign in to comment.