-
Notifications
You must be signed in to change notification settings - Fork 4
/
table5.sh
executable file
·71 lines (61 loc) · 2.63 KB
/
table5.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
#!/bin/bash
quick=false
gpu=0
dataset=tempoHL
while getopts ":HQ" opt; do
case $opt in
H) echo "Script will run the experiments corresponding to table 4 in the paper"
echo "Flag 'Q' (optional): if you have run evaluation before, intermediate values will be cached. Adding -Q will speed up computation"
;;
Q) quick=true
;;
G) gpu="$OPTARG"
esac
done
#Compute/cache intermediate outputs
if [ $quick == false ] ; then
./experiments/eval_released.sh -D $dataset -G $gpu -M mcn
./experiments/eval_released.sh -D $dataset -G $gpu -M tall
./experiments/eval_released.sh -D $dataset -G $gpu -M mllc-global
./experiments/eval_released.sh -D $dataset -G $gpu -M mllc-ba
./experiments/eval_released.sh -D $dataset -G $gpu -M mllc
fi
echo "RESULTS: MCN (row 1)"
python utils/fusion.py --rgb_tag $dataset/emnlp2018_rgb_mcn_$dataset \
--flow_tag $dataset/emnlp2018_flow_mcn_$dataset \
--iter 45000 \
--dataset $dataset \
--quiet
echo "RESULTS: Tall (row 2)"
python utils/fusion.py --rgb_tag $dataset/emnlp2018_rgb_tall_$dataset \
--flow_tag $dataset/emnlp2018_flow_tall_$dataset \
--iter 45000 \
--dataset $dataset \
--tall \
--quiet
echo "RESULTS: MLLC-global (row 3)"
python utils/fusion.py --rgb_tag $dataset/emnlp2018_rgb_mllc-global_$dataset \
--flow_tag $dataset/emnlp2018_flow_mllc-global_$dataset \
--iter 45000 \
--dataset $dataset \
--tall \
--quiet
echo "RESULTS: MLLC-before/after (row 4)"
python utils/fusion.py --rgb_tag $dataset/emnlp2018_rgb_mllc-ba_$dataset \
--flow_tag $dataset/emnlp2018_flow_mllc-ba_$dataset \
--iter 45000 \
--dataset $dataset \
--tall \
--quiet
echo "RESULTS: MLLC (row 5)"
python utils/fusion.py --rgb_tag $dataset/emnlp2018_rgb_mllc_$dataset \
--flow_tag $dataset/emnlp2018_flow_mllc_$dataset \
--iter 45000 \
--dataset $dataset \
--quiet
echo "RESULTS: MLLC (row 5)"
python utils/fusion.py --rgb_tag $dataset/emnlp2018_rgb_mllc_$dataset \
--flow_tag $dataset/emnlp2018_flow_mllc_$dataset \
--iter 45000 \
--dataset $dataset \
--quiet