-
Notifications
You must be signed in to change notification settings - Fork 20
/
training_vlog.sh
80 lines (74 loc) · 1.32 KB
/
training_vlog.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
72
73
74
75
76
77
78
79
80
#!/usr/bin/env bash
# Envs
# source activate pytorch-0.4.0
# Pythonpath
PYTHONPATH=.
# Settings
resume=/home/fbaradel/log_eccv18
root=$VLOG
# Train the object head only with f=MLP
epochs=10
heads=object
python main.py --resume $resume \
--root $root \
--blocks 2D_2D_2D_2.5D \
--object-head 2D \
--add-background \
--train-set train+val \
--arch orn_two_heads \
--depth 50 \
-t 4 \
-b 32 \
--cuda \
--dataset vlog \
--heads $heads \
--epochs $epochs \
--pooling avg \
--print-freq 100 \
--pooling avg \
--mask-confidence 0.5 \
-j 4
# Train the two heads with f=RNN and pooling is avg for context head
epochs=10
heads=object+context
python main.py --resume $resume \
--root $root \
--blocks 2D_2D_2D_2.5D \
--object-head 2D \
--add-background \
--train-set train+val \
--arch orn_two_heads \
--depth 50 \
-t 4 \
-b 8 \
--cuda \
--dataset vlog \
--heads $heads \
--epochs $epochs \
--print-freq 100 \
--pooling rnn \
--mask-confidence 0.5 \
-j 4
# Finally validate on the test set
epochs=10
heads=object+context
python main.py --resume $resume \
--root $root \
--blocks 2D_2D_2D_2.5D \
--object-head 2D \
--add-background \
--train-set train+val \
--arch orn_two_heads \
--depth 50 \
-t 4 \
-b 10 \
--cuda \
--dataset vlog \
--heads $heads \
--epochs $epochs \
--print-freq 100 \
-j 4 \
--pooling rnn \
--nb-crops 8 \
--mask-confidence 0.5 \
-e