forked from amathislab/DeepDraw
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtrain_all_barlow_task.sh
32 lines (23 loc) · 1.1 KB
/
train_all_barlow_task.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
echo "Training model on each dataset"
# Shallow TCNs
for j in {0..50..1} #20
do
echo "Attempt $i "
echo "Index $j "
let "end_idx=$j+1"
## exp_id 10015
python3.6 train_all_barlow_task.py --type barlow_conv --arch_type spatial_temporal --exp_id 305 --start_id $j --end_id $end_idx
python3.6 train_all_barlow_task.py --type barlow_conv --arch_type temporal_spatial --exp_id 305 --start_id $j --end_id $end_idx
python3.6 train_all_barlow_task.py --type barlow_conv --arch_type spatiotemporal --exp_id 305 --start_id $j --end_id $end_idx
done
# Deeper TCNs
for j in {0..50..1} #20
do
echo "Attempt $i "
echo "Index $j "
let "end_idx=$j+1"
## exp_id 10030
python3.6 train_all_barlow_task.py --type barlow_conv_new --arch_type spatial_temporal --exp_id 330 --start_id $j --end_id $end_idx
python3.6 train_all_barlow_task.py --type barlow_conv_new --arch_type temporal_spatial --exp_id 330 --start_id $j --end_id $end_idx
python3.6 train_all_barlow_task.py --type barlow_conv_new --arch_type spatiotemporal --exp_id 330 --start_id $j --end_id $end_idx
done