forked from amathislab/DeepDraw
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtrain_all_classification_task.sh
32 lines (23 loc) · 1.1 KB
/
train_all_classification_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 4015
python3.6 train_all_classification_task.py --type conv --arch_type spatial_temporal --exp_id 245 --start_id $j --end_id $end_idx
python3.6 train_all_classification_task.py --type conv --arch_type temporal_spatial --exp_id 245 --start_id $j --end_id $end_idx
python3.6 train_all_classification_task.py --type conv --arch_type spatiotemporal --exp_id 245 --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 5015
python3.6 train_all_classification_task.py --type conv_new --arch_type spatial_temporal --exp_id 255 --start_id $j --end_id $end_idx
python3.6 train_all_classification_task.py --type conv_new --arch_type temporal_spatial --exp_id 255 --start_id $j --end_id $end_idx
python3.6 train_all_classification_task.py --type conv_new --arch_type spatiotemporal --exp_id 255 --start_id $j --end_id $end_idx
done