-
Notifications
You must be signed in to change notification settings - Fork 3
/
centerpoint_voxels_0075voxel_nuscenes_10sweep.yml
171 lines (166 loc) · 4.63 KB
/
centerpoint_voxels_0075voxel_nuscenes_10sweep.yml
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
163
164
165
166
167
168
169
170
171
batch_size: 4
epochs: 20
train_dataset:
type: NuscenesPCDataset
dataset_root: datasets/nuscenes/
transforms:
- type: LoadPointCloud
dim: 5
use_dim: 4
use_time_lag: True
sweep_remove_radius: 1
- type: SamplingDatabase
min_num_points_in_box_per_class:
car: 5
truck: 5
bus: 5
trailer: 5
construction_vehicle: 5
traffic_cone: 5
barrier: 5
motorcycle: 5
bicycle: 5
pedestrian: 5
max_num_samples_per_class:
car: 2
truck: 3
construction_vehicle: 7
bus: 4
trailer: 6
barrier: 2
motorcycle: 6
bicycle: 6
pedestrian: 2
traffic_cone: 2
database_anno_path: datasets/nuscenes/gt_database_train_nsweeps10_withvelo/anno_info_train_nsweeps10_withvelo.pkl
database_root: datasets/nuscenes
class_names: ["car", "truck", "construction_vehicle", "bus", "trailer", "barrier", "motorcycle", "bicycle", "pedestrian", "traffic_cone"]
- type: RandomVerticalFlip
- type: RandomHorizontalFlip
- type: GlobalRotate
min_rot: -0.78539816
max_rot: 0.78539816
- type: GlobalScale
min_scale: 0.9
max_scale: 1.1
- type: GlobalTranslate
translation_std: [0.5, 0.5, 0.5]
- type: ShufflePoint
- type: FilterBBoxOutsideRange
point_cloud_range: [-54, -54, -5.0, 54, 54, 3.0]
- type: Gt2CenterPointTarget
tasks:
- num_class: 1
class_names: ["car"]
- num_class: 2
class_names: ["truck", "construction_vehicle"]
- num_class: 2
class_names: ["bus", "trailer"]
- num_class: 1
class_names: ["barrier"]
- num_class: 2
class_names: ["motorcycle", "bicycle"]
- num_class: 2
class_names: ["pedestrian", "traffic_cone"]
down_ratio: 8
point_cloud_range: [-54, -54, -5.0, 54, 54, 3.0]
voxel_size: [0.075, 0.075, 0.2]
gaussian_overlap: 0.1
max_objs: 500
min_radius: 2
mode: train
max_sweeps: 10
class_balanced_sampling: True
class_names: ["car", "truck", "construction_vehicle", "bus", "trailer", "barrier", "motorcycle", "bicycle", "pedestrian", "traffic_cone"]
val_dataset:
type: NuscenesPCDataset
dataset_root: datasets/nuscenes/
transforms:
- type: LoadPointCloud
dim: 5
use_dim: 4
use_time_lag: True
sweep_remove_radius: 1
mode: val
max_sweeps: 10
class_names: ["car", "truck", "construction_vehicle", "bus", "trailer", "barrier", "motorcycle", "bicycle", "pedestrian", "traffic_cone"]
optimizer:
type: OneCycleAdam
beta2: 0.99
weight_decay: 0.01
grad_clip:
type: ClipGradByGlobalNorm
clip_norm: 35
beta1:
type: OneCycleDecayWarmupMomentum
momentum_peak: 0.95
momentum_trough: 0.85
step_ratio_peak: 0.4
lr_scheduler:
type: OneCycleWarmupDecayLr
base_learning_rate: 0.0001
lr_ratio_peak: 10
lr_ratio_trough: 0.0001
step_ratio_peak: 0.4
model:
type: CenterPoint
voxelizer:
type: HardVoxelizer
point_cloud_range: [-54, -54, -5.0, 54, 54, 3.0]
voxel_size: [0.075, 0.075, 0.2]
max_num_points_in_voxel: 10
max_num_voxels: [120000, 160000]
voxel_encoder:
type: VoxelMean
in_channels: 5
middle_encoder:
type: SparseResNet3D
in_channels: 5
voxel_size: [0.075, 0.075, 0.2]
point_cloud_range: [-54, -54, -5.0, 54, 54, 3.0]
backbone:
type: SecondBackbone
in_channels: 256
out_channels: [128, 256]
layer_nums: [5, 5]
downsample_strides: [1, 2]
neck:
type: SecondFPN
in_channels: [128, 256]
out_channels: [256, 256]
upsample_strides: [1, 2]
use_conv_for_no_stride: True
bbox_head:
type: CenterHead
in_channels: 512 # sum([256, 256])
tasks:
- num_class: 1
class_names: ["car"]
- num_class: 2
class_names: ["truck", "construction_vehicle"]
- num_class: 2
class_names: ["bus", "trailer"]
- num_class: 1
class_names: ["barrier"]
- num_class: 2
class_names: ["motorcycle", "bicycle"]
- num_class: 2
class_names: ["pedestrian", "traffic_cone"]
weight: 0.25
code_weights: [1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 0.2, 0.2, 1.0, 1.0]
common_heads:
reg: [2, 2]
height: [1, 2]
dim: [3, 2]
rot: [2, 2]
vel: [2, 2]
test_cfg:
post_center_limit_range: [-61.2, -61.2, -10.0, 61.2, 61.2, 10.0]
nms:
nms_pre_max_size: 1000
nms_post_max_size: 83
nms_iou_threshold: 0.2
score_threshold: 0.1
point_cloud_range: [-54, -54, -5.0, 54, 54, 3.0]
down_ratio: 8
voxel_size: [0.075, 0.075]