forked from drilistbox/FlashOCC_on_UniOcc_and_RenderOCC
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrenderocc-7frame.py
38 lines (31 loc) · 834 Bytes
/
renderocc-7frame.py
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
_base_ = ['./bevstereo-occ.py']
model = dict(
type='RenderOcc',
final_softplus=True,
nerf_head=dict(
type='NerfHead',
point_cloud_range= [-40,-40,-1, 40,40,5.4],
voxel_size=0.4,
scene_center=[0, 0, 2.2],
radius=39,
use_depth_sup=True,
)
)
optimizer = dict(type='AdamW', lr=1e-4, weight_decay=1e-2)
depth_gt_path = 'data/nuscenes/depth_gt'
semantic_gt_path = 'data/nuscenes/seg_gt_lidarseg'
data = dict(
samples_per_gpu=2, # with 8 GPU, Batch Size=16
workers_per_gpu=2,
train=dict(
use_rays=True,
depth_gt_path=depth_gt_path,
semantic_gt_path=semantic_gt_path,
aux_frames=[-3,-2,-1,1,2,3],
max_ray_nums=38400,
)
)
runner = dict(type='EpochBasedRunner', max_epochs=12)
log_config = dict(
interval=50,
)