-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsubmit_ablate_dorsal.sh
executable file
·21 lines (18 loc) · 1.28 KB
/
submit_ablate_dorsal.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash
# Ablate coordinates (train_on=shape)
echo Ablate coordinates/dorsal
for i in $(seq 0 19);
do
echo Simple Counting ablate dorsal $i
python3 main.py --model_type=rnn_classifier2stream --sort --train_on=shape --use_loss=both --opt=Adam --wd=0.00001 --same --shape_input=logpolar --min_num=1 --max_num=5 --n_glimpses=12 --h_size=1024 --train_shapes=BCDE --test_shapes BCDE FGHJ --noise_level=0.74 --train_size=100000 --test_size=5000 --n_epochs=300 --act=lrelu --dropout=0.5 --rep=$i --grid=6
pid=$!
wait $pid
done
# * Ignore Distractors *
for i in $(seq 0 19);
do
echo Ignore Distractors ablate dorsal $i
python3 main.py --model_type=pretrained_ventral-cnn-mse --sort --pass_penult --train_on=shape --use_loss=both --opt=Adam --wd=0.00001 --same --challenge=distract012 --shape_input=logpolar --min_num=1 --max_num=5 --n_glimpses=12 --h_size=1024 --train_shapes=BCDE --test_shapes BCDE FGHJ --noise_level=0.74 --train_size=100000 --test_size=5000 --n_epochs=300 --act=lrelu --dropout=0.5 --rep=$i --grid=6 --ventral='ventral_cnn-lrelu_hsize-25_logpolar_num1-5_nl-0.74_diff-0-6_grid6_policy-cheat+jitter_lum-[0.1, 0.4, 0.7, 0.3, 0.6, 0.9]_trainshapes-BCDEFGHJsame_distract012_logpolar_40000_loss-mse_opt-Adam_drop0.4_sort_200eps_rep0_ep-200.pt'
pid=$!
wait $pid
done