update test script with bash loop

This commit is contained in:
René Knaebel 2017-09-02 12:58:48 +02:00
parent dc9180da10
commit 0db8427457

24
test.sh
View File

@ -1,11 +1,19 @@
#!/usr/bin/env bash #!/usr/bin/env bash
python main.py --mode test --batch 1024 --model /tmp/rk/results/small_both --test /tmp/rk/futureData.csv --model_output both --type paul
python main.py --mode test --batch 1024 --model /tmp/rk/results/small_client --test /tmp/rk/futureData.csv --model_output client --type paul
python main.py --mode test --batch 1024 --model /tmp/rk/results/small_new_both --test /tmp/rk/futureData.csv --model_output both --type paul
python main.py --mode test --batch 1024 --model /tmp/rk/results/small_new_client --test /tmp/rk/futureData.csv --model_output client --type paul
python main.py --mode test --batch 1024 --model /tmp/rk/results/medium_both --test /tmp/rk/futureData.csv --model_output both --type rene for output in client both
python main.py --mode test --batch 1024 --model /tmp/rk/results/medium_client --test /tmp/rk/futureData.csv --model_output client --type rene do
python main.py --mode test --batch 1024 --model /tmp/rk/results/medium_new_both --test /tmp/rk/futureData.csv --model_output both --type rene for depth in small medium
python main.py --mode test --batch 1024 --model /tmp/rk/results/medium_new_client --test /tmp/rk/futureData.csv --model_output client --type rene do
for mtype in inter final staggered
do
python main.py --mode test --batch 1024 \
--model /tmp/rk/results/${output}_${depth}_${mtype} \
--test /tmp/rk/futureData.csv \
--model_output ${output} \
--type ${mtype} \
--depth ${depth}
done
done
done