scdrand23 commited on
Commit
f1752d3
·
verified ·
1 Parent(s): 6156e94

Add pretrained checkpoints (ReVQom-S K=64, ReVQom-M K=256, DAIR-V2X)

Browse files
revqom_m_k256_dairv2x/config.yaml ADDED
@@ -0,0 +1,252 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ comm_range: 100
2
+ data_augment:
3
+ - ALONG_AXIS_LIST:
4
+ - x
5
+ NAME: random_world_flip
6
+ - NAME: random_world_rotation
7
+ WORLD_ROT_ANGLE:
8
+ - -0.78539816
9
+ - 0.78539816
10
+ - NAME: random_world_scaling
11
+ WORLD_SCALE_RANGE:
12
+ - 0.95
13
+ - 1.05
14
+ data_dir: /path/to/dataset/DAIR-V2X/cooperative-vehicle-infrastructure
15
+ fusion:
16
+ args:
17
+ proj_first: true
18
+ core_method: DAIRV2XIntermediateFusionDataset
19
+ input_source:
20
+ - lidar
21
+ label_type: lidar
22
+ loss:
23
+ args:
24
+ feature_map_stride: 8
25
+ grid_size: &id001 !!python/object/apply:numpy.core.multiarray._reconstruct
26
+ args:
27
+ - !!python/name:numpy.ndarray ''
28
+ - !!python/tuple
29
+ - 0
30
+ - !!binary |
31
+ Yg==
32
+ state: !!python/tuple
33
+ - 1
34
+ - !!python/tuple
35
+ - 3
36
+ - !!python/object/apply:numpy.dtype
37
+ args:
38
+ - i8
39
+ - false
40
+ - true
41
+ state: !!python/tuple
42
+ - 3
43
+ - <
44
+ - null
45
+ - null
46
+ - null
47
+ - -1
48
+ - -1
49
+ - 0
50
+ - false
51
+ - !!binary |
52
+ AAQAAAAAAAAABAAAAAAAACgAAAAAAAAA
53
+ loss_config:
54
+ code_weights:
55
+ - 1.0
56
+ - 1.0
57
+ - 1.0
58
+ - 1.0
59
+ - 1.0
60
+ - 1.0
61
+ - 1.0
62
+ - 1.0
63
+ loss_cls:
64
+ alpha: 0.25
65
+ gamma: 2.0
66
+ use_sigmoid: true
67
+ loss_weights:
68
+ bbox_weight: 2.0
69
+ cls_weight: 1.0
70
+ hm_weight: 1.0
71
+ ortho_weight: 1.0
72
+ vq_weight: 1.0
73
+ max_cav: 2
74
+ num_classes: 1
75
+ point_cloud_range: &id002
76
+ - -102.4
77
+ - -102.4
78
+ - -10
79
+ - 102.4
80
+ - 102.4
81
+ - 6
82
+ post_processing:
83
+ post_center_range: &id004
84
+ - -102.4
85
+ - -102.4
86
+ - -10
87
+ - 102.4
88
+ - 102.4
89
+ - 6
90
+ score_thresh: 0.0
91
+ target_assigner_config:
92
+ feature_map_stride: 8
93
+ gaussian_overlap: 0.1
94
+ hungarian_assigner:
95
+ cls_cost:
96
+ alpha: 0.25
97
+ gamma: 2.0
98
+ weight: 0.15
99
+ iou_cost:
100
+ weight: 0.25
101
+ reg_cost:
102
+ weight: 0.25
103
+ min_radius: 2
104
+ voxel_size: &id003
105
+ - 0.2
106
+ - 0.2
107
+ - 0.4
108
+ core_method: focal_loss
109
+ model:
110
+ args:
111
+ backbone_3d: []
112
+ base_bev_backbone:
113
+ layer_nums:
114
+ - 5
115
+ - 5
116
+ layer_strides:
117
+ - 1
118
+ - 2
119
+ num_filters:
120
+ - 128
121
+ - 256
122
+ num_upsample_filter:
123
+ - 256
124
+ - 256
125
+ upsample_strides:
126
+ - 1
127
+ - 2
128
+ use_conv_for_no_stride: true
129
+ batch_size: 8
130
+ cobevt:
131
+ agent_size: 2
132
+ depth: 3
133
+ dim_head: 32
134
+ drop_out: 0.1
135
+ input_dim: 256
136
+ mlp_dim: 256
137
+ window_size: 4
138
+ compression:
139
+ beta_commit: 0.05
140
+ channel_reduction_ratio: 16
141
+ codebook_size: 256
142
+ compression_method: ChannelRVQ_EMA
143
+ ema_decay: 0.8
144
+ n_q: 3
145
+ ortho_reg: 0.0001
146
+ ortho_weight: 1.0
147
+ use_groupnorm: true
148
+ vq_weight: 1.0
149
+ dense_head:
150
+ activation: relu
151
+ bn_momentum: 0.1
152
+ class_agnostic: false
153
+ dataset_name: dairv2x
154
+ dropout: 0.1
155
+ feature_map_stride: 8
156
+ ffn_channel: 256
157
+ grid_size: *id001
158
+ hidden_channel: 128
159
+ input_channels: 256
160
+ nms_kernel_size: 3
161
+ num_class: 1
162
+ num_heads: 4
163
+ num_hm_conv: 2
164
+ num_proposals: 300
165
+ separate_head_cfg:
166
+ head_dict:
167
+ center:
168
+ num_conv: 2
169
+ out_channels: 2
170
+ dim:
171
+ num_conv: 2
172
+ out_channels: 3
173
+ height:
174
+ num_conv: 2
175
+ out_channels: 1
176
+ rot:
177
+ num_conv: 2
178
+ out_channels: 2
179
+ head_order:
180
+ - center
181
+ - height
182
+ - dim
183
+ - rot
184
+ fusion_method: cobevt
185
+ grid_size: *id001
186
+ height_compression:
187
+ feature_num: 256
188
+ in_head: 256
189
+ lidar_range: *id002
190
+ max_cav: 2
191
+ mean_vfe:
192
+ feature_points: 4
193
+ num_classes: 1
194
+ voxel_size: *id003
195
+ core_method: cobevt
196
+ name: dair_cobevt_revqom_k256_nq3_crr16_ema08_refq
197
+ noise_setting: !!python/object/apply:collections.OrderedDict
198
+ - - - add_noise
199
+ - false
200
+ optimization:
201
+ batch_size_per_gpu: 8
202
+ betas:
203
+ - 0.9
204
+ - 0.999
205
+ decay_step_list:
206
+ - 35
207
+ - 45
208
+ div_factor: 10
209
+ grad_norm_clip: 35
210
+ lr: 0.001
211
+ lr_clip: 1.0e-07
212
+ lr_decay: 0.1
213
+ lr_warmup: false
214
+ momentum: 0.9
215
+ moms:
216
+ - 0.9
217
+ - 0.8052631
218
+ num_epochs: 30
219
+ optimizer: adam_onecycle
220
+ pct_start: 0.4
221
+ warmup_epoch: 1
222
+ weight_decay: 0.01
223
+ postprocess:
224
+ cav_lidar_range: *id002
225
+ core_method: FocalCommPostprocessor
226
+ feature_map_stride: 8
227
+ max_num: 400
228
+ nms_thresh: 0.15
229
+ num_classes: 1
230
+ order: hwl
231
+ post_center_range: *id004
232
+ score_threshold: 0.1
233
+ voxel_size: *id003
234
+ preprocess:
235
+ args:
236
+ max_points_per_voxel: 20
237
+ max_voxel_test: 144000
238
+ max_voxel_train: 72000
239
+ voxel_size: *id003
240
+ cav_lidar_range: *id002
241
+ core_method: SpVoxelPreprocessor
242
+ num_class: 1
243
+ root_dir: /path/to/dataset/DAIR-V2X/cooperative-vehicle-infrastructure/train.json
244
+ test_dir: /path/to/dataset/DAIR-V2X/cooperative-vehicle-infrastructure/val.json
245
+ train_params:
246
+ batch_size: 8
247
+ epoches: 30
248
+ eval_freq: 1
249
+ max_cav: 2
250
+ save_freq: 1
251
+ validate_dir: /path/to/dataset/DAIR-V2X/cooperative-vehicle-infrastructure/val.json
252
+ yaml_parser: load_anchor_free_params
revqom_m_k256_dairv2x/net_epoch30.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:931f2d4c525a5321012511c39aa3f94bb763c78ec5302902c4c00faec5ddcdff
3
+ size 34149669
revqom_s_k64_dairv2x/config.yaml ADDED
@@ -0,0 +1,252 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ comm_range: 100
2
+ data_augment:
3
+ - ALONG_AXIS_LIST:
4
+ - x
5
+ NAME: random_world_flip
6
+ - NAME: random_world_rotation
7
+ WORLD_ROT_ANGLE:
8
+ - -0.78539816
9
+ - 0.78539816
10
+ - NAME: random_world_scaling
11
+ WORLD_SCALE_RANGE:
12
+ - 0.95
13
+ - 1.05
14
+ data_dir: /path/to/dataset/DAIR-V2X/cooperative-vehicle-infrastructure
15
+ fusion:
16
+ args:
17
+ proj_first: true
18
+ core_method: DAIRV2XIntermediateFusionDataset
19
+ input_source:
20
+ - lidar
21
+ label_type: lidar
22
+ loss:
23
+ args:
24
+ feature_map_stride: 8
25
+ grid_size: &id001 !!python/object/apply:numpy.core.multiarray._reconstruct
26
+ args:
27
+ - !!python/name:numpy.ndarray ''
28
+ - !!python/tuple
29
+ - 0
30
+ - !!binary |
31
+ Yg==
32
+ state: !!python/tuple
33
+ - 1
34
+ - !!python/tuple
35
+ - 3
36
+ - !!python/object/apply:numpy.dtype
37
+ args:
38
+ - i8
39
+ - false
40
+ - true
41
+ state: !!python/tuple
42
+ - 3
43
+ - <
44
+ - null
45
+ - null
46
+ - null
47
+ - -1
48
+ - -1
49
+ - 0
50
+ - false
51
+ - !!binary |
52
+ AAQAAAAAAAAABAAAAAAAACgAAAAAAAAA
53
+ loss_config:
54
+ code_weights:
55
+ - 1.0
56
+ - 1.0
57
+ - 1.0
58
+ - 1.0
59
+ - 1.0
60
+ - 1.0
61
+ - 1.0
62
+ - 1.0
63
+ loss_cls:
64
+ alpha: 0.25
65
+ gamma: 2.0
66
+ use_sigmoid: true
67
+ loss_weights:
68
+ bbox_weight: 2.0
69
+ cls_weight: 1.0
70
+ hm_weight: 1.0
71
+ ortho_weight: 1.0
72
+ vq_weight: 1.0
73
+ max_cav: 2
74
+ num_classes: 1
75
+ point_cloud_range: &id002
76
+ - -102.4
77
+ - -102.4
78
+ - -10
79
+ - 102.4
80
+ - 102.4
81
+ - 6
82
+ post_processing:
83
+ post_center_range: &id004
84
+ - -102.4
85
+ - -102.4
86
+ - -10
87
+ - 102.4
88
+ - 102.4
89
+ - 6
90
+ score_thresh: 0.0
91
+ target_assigner_config:
92
+ feature_map_stride: 8
93
+ gaussian_overlap: 0.1
94
+ hungarian_assigner:
95
+ cls_cost:
96
+ alpha: 0.25
97
+ gamma: 2.0
98
+ weight: 0.15
99
+ iou_cost:
100
+ weight: 0.25
101
+ reg_cost:
102
+ weight: 0.25
103
+ min_radius: 2
104
+ voxel_size: &id003
105
+ - 0.2
106
+ - 0.2
107
+ - 0.4
108
+ core_method: focal_loss
109
+ model:
110
+ args:
111
+ backbone_3d: []
112
+ base_bev_backbone:
113
+ layer_nums:
114
+ - 5
115
+ - 5
116
+ layer_strides:
117
+ - 1
118
+ - 2
119
+ num_filters:
120
+ - 128
121
+ - 256
122
+ num_upsample_filter:
123
+ - 256
124
+ - 256
125
+ upsample_strides:
126
+ - 1
127
+ - 2
128
+ use_conv_for_no_stride: true
129
+ batch_size: 8
130
+ cobevt:
131
+ agent_size: 2
132
+ depth: 3
133
+ dim_head: 32
134
+ drop_out: 0.1
135
+ input_dim: 256
136
+ mlp_dim: 256
137
+ window_size: 4
138
+ compression:
139
+ beta_commit: 0.05
140
+ channel_reduction_ratio: 16
141
+ codebook_size: 64
142
+ compression_method: ChannelRVQ_EMA
143
+ ema_decay: 0.8
144
+ n_q: 3
145
+ ortho_reg: 0.0001
146
+ ortho_weight: 1.0
147
+ use_groupnorm: true
148
+ vq_weight: 1.0
149
+ dense_head:
150
+ activation: relu
151
+ bn_momentum: 0.1
152
+ class_agnostic: false
153
+ dataset_name: dairv2x
154
+ dropout: 0.1
155
+ feature_map_stride: 8
156
+ ffn_channel: 256
157
+ grid_size: *id001
158
+ hidden_channel: 128
159
+ input_channels: 256
160
+ nms_kernel_size: 3
161
+ num_class: 1
162
+ num_heads: 4
163
+ num_hm_conv: 2
164
+ num_proposals: 300
165
+ separate_head_cfg:
166
+ head_dict:
167
+ center:
168
+ num_conv: 2
169
+ out_channels: 2
170
+ dim:
171
+ num_conv: 2
172
+ out_channels: 3
173
+ height:
174
+ num_conv: 2
175
+ out_channels: 1
176
+ rot:
177
+ num_conv: 2
178
+ out_channels: 2
179
+ head_order:
180
+ - center
181
+ - height
182
+ - dim
183
+ - rot
184
+ fusion_method: cobevt
185
+ grid_size: *id001
186
+ height_compression:
187
+ feature_num: 256
188
+ in_head: 256
189
+ lidar_range: *id002
190
+ max_cav: 2
191
+ mean_vfe:
192
+ feature_points: 4
193
+ num_classes: 1
194
+ voxel_size: *id003
195
+ core_method: cobevt
196
+ name: dair_cobevt_revqom_k64_nq3_crr16_ema08
197
+ noise_setting: !!python/object/apply:collections.OrderedDict
198
+ - - - add_noise
199
+ - false
200
+ optimization:
201
+ batch_size_per_gpu: 8
202
+ betas:
203
+ - 0.9
204
+ - 0.999
205
+ decay_step_list:
206
+ - 35
207
+ - 45
208
+ div_factor: 10
209
+ grad_norm_clip: 35
210
+ lr: 0.001
211
+ lr_clip: 1.0e-07
212
+ lr_decay: 0.1
213
+ lr_warmup: false
214
+ momentum: 0.9
215
+ moms:
216
+ - 0.9
217
+ - 0.8052631
218
+ num_epochs: 30
219
+ optimizer: adam_onecycle
220
+ pct_start: 0.4
221
+ warmup_epoch: 1
222
+ weight_decay: 0.01
223
+ postprocess:
224
+ cav_lidar_range: *id002
225
+ core_method: FocalCommPostprocessor
226
+ feature_map_stride: 8
227
+ max_num: 400
228
+ nms_thresh: 0.15
229
+ num_classes: 1
230
+ order: hwl
231
+ post_center_range: *id004
232
+ score_threshold: 0.1
233
+ voxel_size: *id003
234
+ preprocess:
235
+ args:
236
+ max_points_per_voxel: 20
237
+ max_voxel_test: 144000
238
+ max_voxel_train: 72000
239
+ voxel_size: *id003
240
+ cav_lidar_range: *id002
241
+ core_method: SpVoxelPreprocessor
242
+ num_class: 1
243
+ root_dir: /path/to/dataset/DAIR-V2X/cooperative-vehicle-infrastructure/train.json
244
+ test_dir: /path/to/dataset/DAIR-V2X/cooperative-vehicle-infrastructure/val.json
245
+ train_params:
246
+ batch_size: 8
247
+ epoches: 30
248
+ eval_freq: 1
249
+ max_cav: 2
250
+ save_freq: 1
251
+ validate_dir: /path/to/dataset/DAIR-V2X/cooperative-vehicle-infrastructure/val.json
252
+ yaml_parser: load_anchor_free_params
revqom_s_k64_dairv2x/net_epoch30.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1e806f9d6faba4e28f2306b4cc89b3ce23e9468c398d6444732b27e7bbd7e992
3
+ size 34071333