-
Notifications
You must be signed in to change notification settings - Fork 19
/
Makefile
162 lines (154 loc) · 3.85 KB
/
Makefile
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
# [V-COCO] single-gpu train (runs in 1 GPU)
vcoco_single_train:
python main.py \
--group_name KakaoBrain_HOTR_vcoco \
--run_name vcoco_single_run_000001 \
--HOIDet \
--validate \
--share_enc \
--pretrained_dec \
--lr 1e-4 \
--num_hoi_queries 16 \
--set_cost_idx 10 \
--hoi_act_loss_coef 10 \
--hoi_eos_coef 0.1 \
--temperature 0.05 \
--no_aux_loss \
--hoi_aux_loss \
--dataset_file vcoco \
--frozen_weights https://dl.fbaipublicfiles.com/detr/detr-r50-e632da11.pth \
--data_path v-coco \
--output_dir checkpoints/vcoco/
# [V-COCO] multi-gpu train (runs in 8 GPUs)
vcoco_multi_train:
python -m torch.distributed.launch \
--nproc_per_node=8 \
--use_env main.py \
--group_name KakaoBrain_HOTR_vcoco \
--run_name vcoco_multi_run_000001 \
--HOIDet \
--wandb \
--validate \
--share_enc \
--pretrained_dec \
--lr 1e-4 \
--num_hoi_queries 16 \
--set_cost_idx 10 \
--set_cost_act 1 \
--hoi_idx_loss_coef 1 \
--hoi_act_loss_coef 10 \
--hoi_eos_coef 0.1 \
--temperature 0.05 \
--no_aux_loss \
--hoi_aux_loss \
--dataset_file vcoco \
--frozen_weights https://dl.fbaipublicfiles.com/detr/detr-r50-e632da11.pth \
--data_path v-coco \
--output_dir checkpoints/vcoco/
# [V-COCO] single-gpu test (runs in 1 GPU)
vcoco_single_test:
python main.py \
--HOIDet \
--share_enc \
--pretrained_dec \
--num_hoi_queries 16 \
--object_threshold 0 \
--temperature 0.05 \
--no_aux_loss \
--eval \
--dataset_file vcoco \
--data_path v-coco \
--resume checkpoints/vcoco/vcoco_q16.pth
# [V-COCO] multi-gpu test (runs in 8 GPUs)
vcoco_multi_test:
python -m torch.distributed.launch \
--nproc_per_node=8 \
--use_env main.py \
--HOIDet \
--share_enc \
--pretrained_dec \
--num_hoi_queries 16 \
--object_threshold 0 \
--temperature 0.05 \
--no_aux_loss \
--eval \
--dataset_file vcoco \
--data_path v-coco \
--resume checkpoints/vcoco/vcoco_q16.pth
# [HICO-DET] single-gpu train (runs in 1 GPU)
hico_single_train:
python main.py \
--group_name KakaoBrain_HOTR_hicodet \
--run_name hicodet_single_run_000001 \
--HOIDet \
--validate \
--share_enc \
--pretrained_dec \
--lr 1e-4 \
--num_hoi_queries 16 \
--set_cost_idx 20 \
--hoi_act_loss_coef 10 \
--hoi_eos_coef 0.1 \
--temperature 0.2 \
--no_aux_loss \
--hoi_aux_loss \
--dataset_file hico-det \
--frozen_weights https://dl.fbaipublicfiles.com/detr/detr-r50-e632da11.pth \
--data_path hico_20160224_det \
--output_dir checkpoints/hico_det/
# [HICO-DET] multi-gpu train (runs in 8 GPUs)
hico_multi_train:
python -m torch.distributed.launch \
--nproc_per_node=8 \
--use_env main.py \
--group_name KakaoBrain_HOTR_hicodet \
--run_name hicodet_multi_run_000001 \
--HOIDet \
--wandb \
--validate \
--share_enc \
--pretrained_dec \
--lr 1e-4 \
--lr_drop 80 \
--epochs 100 \
--num_hoi_queries 16 \
--set_cost_idx 20 \
--hoi_act_loss_coef 10 \
--hoi_eos_coef 0.1 \
--temperature 0.2 \
--no_aux_loss \
--hoi_aux_loss \
--dataset_file hico-det \
--frozen_weights https://dl.fbaipublicfiles.com/detr/detr-r50-e632da11.pth \
--data_path hico_20160224_det \
--output_dir checkpoints/hico_det/
# [HICO-DET] single-gpu test
hico_single_test:
python main.py \
--HOIDet \
--share_enc \
--pretrained_dec \
--num_hoi_queries 16 \
--object_threshold 0 \
--temperature 0.2 \
--no_aux_loss \
--eval \
--dataset_file hico-det \
--data_path hico_20160224_det \
--resume checkpoints/hico_det/hico_q16.pth
# [HICO-DET] multi-gpu test (runs in 8 GPUs)
hico_multi_test:
python -m torch.distributed.launch \
--nproc_per_node=8 \
--use_env main.py \
--HOIDet \
--share_enc \
--pretrained_dec \
--num_hoi_queries 16 \
--object_threshold 0 \
--temperature 0.2 \
--no_aux_loss \
--eval \
--dataset_file hico-det \
--data_path hico_20160224_det \
--resume checkpoints/hico_det/hico_q16.pth