forked from mit-han-lab/bevfusion
-
Notifications
You must be signed in to change notification settings - Fork 0
/
default.yaml
61 lines (60 loc) · 1.52 KB
/
default.yaml
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
model:
encoders:
camera:
backbone:
type: SwinTransformer
embed_dims: 96
depths: [2, 2, 6, 2]
num_heads: [3, 6, 12, 24]
window_size: 7
mlp_ratio: 4
qkv_bias: true
qk_scale: null
drop_rate: 0.
attn_drop_rate: 0.
drop_path_rate: 0.2
patch_norm: true
out_indices: [1, 2, 3]
with_cp: false
convert_weights: true
init_cfg:
type: Pretrained
checkpoint: https://github.com/SwinTransformer/storage/releases/download/v1.0.0/swin_tiny_patch4_window7_224.pth
neck:
type: GeneralizedLSSFPN
in_channels: [192, 384, 768]
out_channels: 256
start_level: 0
num_outs: 3
norm_cfg:
type: BN2d
requires_grad: true
act_cfg:
type: ReLU
inplace: true
upsample_cfg:
mode: bilinear
align_corners: false
vtransform:
in_channels: 256
out_channels: 80
feature_size: ${[image_size[0] // 8, image_size[1] // 8]}
xbound: [-51.2, 51.2, 0.4]
ybound: [-51.2, 51.2, 0.4]
zbound: [-10.0, 10.0, 20.0]
dbound: [1.0, 60.0, 0.5]
downsample: 2
decoder:
backbone:
type: GeneralizedResNet
in_channels: 80
blocks:
- [2, 128, 2]
- [2, 256, 2]
- [2, 512, 1]
neck:
type: LSSFPN
in_indices: [-1, 0]
in_channels: [512, 128]
out_channels: 256
scale_factor: 2