From bedec6ee318b7d298eb3f011cd691abc8609ba7c Mon Sep 17 00:00:00 2001 From: Eric <ericwong@cs.cmu.edu> Date: Tue, 30 Oct 2018 20:19:36 -0400 Subject: [PATCH] updated experiments script --- examples/experiments.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/examples/experiments.sh b/examples/experiments.sh index d052574..c708965 100755 --- a/examples/experiments.sh +++ b/examples/experiments.sh @@ -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" @@ -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}"