2017-08-03 07:51:58 +02:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2017-08-02 15:13:09 +02:00
|
|
|
|
2017-09-05 17:40:57 +02:00
|
|
|
RESDIR=$1
|
|
|
|
mkdir -p /tmp/rk/RESDIR
|
|
|
|
DATADIR=$2
|
|
|
|
|
2017-09-01 10:42:26 +02:00
|
|
|
for output in client both
|
|
|
|
do
|
2017-09-07 14:24:55 +02:00
|
|
|
for depth in small
|
2017-09-01 10:42:26 +02:00
|
|
|
do
|
2017-09-05 12:40:37 +02:00
|
|
|
for mtype in inter final
|
2017-09-01 10:42:26 +02:00
|
|
|
do
|
2017-08-02 15:13:09 +02:00
|
|
|
|
2017-09-01 10:42:26 +02:00
|
|
|
python main.py --mode train \
|
2017-09-05 17:40:57 +02:00
|
|
|
--train ${DATADIR}/currentData.csv \
|
|
|
|
--model ${RESDIR}/${output}_${depth}_${mtype} \
|
2017-09-01 10:42:26 +02:00
|
|
|
--epochs 50 \
|
2017-09-07 15:53:58 +02:00
|
|
|
--embd 128 \
|
|
|
|
--filter_embd 256 --kernel_embd 8 --dense_embd 128 \
|
2017-09-01 10:42:26 +02:00
|
|
|
--domain_embd 32 \
|
2017-09-07 15:53:58 +02:00
|
|
|
--filter_main 32 --kernel_main 8 --dense_main 1024 \
|
2017-09-01 10:42:26 +02:00
|
|
|
--batch 256 \
|
|
|
|
--balanced_weights \
|
|
|
|
--model_output ${output} \
|
|
|
|
--type ${mtype} \
|
|
|
|
--depth ${depth}
|
2017-08-02 15:13:09 +02:00
|
|
|
|
2017-09-01 10:42:26 +02:00
|
|
|
done
|
|
|
|
done
|
|
|
|
done
|
2017-09-05 12:40:37 +02:00
|
|
|
|
2017-09-07 14:24:55 +02:00
|
|
|
for depth in small
|
2017-09-05 12:40:37 +02:00
|
|
|
do
|
|
|
|
python main.py --mode train \
|
2017-09-05 17:40:57 +02:00
|
|
|
--train ${DATADIR}/currentData.csv \
|
|
|
|
--model ${RESDIR}/both_${depth}_inter \
|
2017-09-05 12:40:37 +02:00
|
|
|
--epochs 50 \
|
2017-09-07 15:53:58 +02:00
|
|
|
--embd 128 \
|
|
|
|
--filter_embd 256 --kernel_embd 8 --dense_embd 128 \
|
2017-09-05 12:40:37 +02:00
|
|
|
--domain_embd 32 \
|
2017-09-07 15:53:58 +02:00
|
|
|
--filter_main 32 --kernel_main 8 --dense_main 1024 \
|
2017-09-05 12:40:37 +02:00
|
|
|
--batch 256 \
|
|
|
|
--balanced_weights \
|
|
|
|
--model_output both \
|
2017-09-07 14:24:55 +02:00
|
|
|
--type staggered \
|
2017-09-05 12:40:37 +02:00
|
|
|
--depth ${depth}
|
|
|
|
done
|