Skip to content

Commit 7cc9e07

Browse files
committed
Fixed bug in Nuscenes dataset and Update configs
1 parent 1d2c3f6 commit 7cc9e07

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

pcdet/datasets/nuscenes/nuscenes_dataset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ def create_nuscenes_info(version, data_path, save_path, max_sweeps=10, with_cam=
381381

382382
train_nusc_infos, val_nusc_infos = nuscenes_utils.fill_trainval_infos(
383383
data_path=data_path, nusc=nusc, train_scenes=train_scenes, val_scenes=val_scenes,
384-
test='test' in version, max_sweeps=max_sweeps
384+
test='test' in version, max_sweeps=max_sweeps, with_cam=with_cam
385385
)
386386

387387
if version == 'v1.0-test':

tools/cfgs/nuscenes_models/cbgs_bevfusion.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ DATA_CONFIG:
2828

2929
- NAME: imgaug
3030
ROT_LIM: [-5.4, 5.4]
31-
RAND_FLIP: true
31+
RAND_FLIP: True
3232

3333
DATA_PROCESSOR:
3434
- NAME: mask_points_and_boxes_outside_range
@@ -85,7 +85,8 @@ MODEL:
8585
CONVERT_WEIGHTS: True
8686
INIT_CFG:
8787
type: Pretrained
88-
checkpoint: swint-nuimages-pretrained.pth
88+
# checkpoint: swint-nuimages-pretrained.pth
89+
checkpoint: /slurm_data/shichen/package/tomopc_cu111/OpenPCDet/tmp/pretrained/swint-nuimages-pretrained.pth
8990

9091
NECK:
9192
NAME: GeneralizedLSSFPN
@@ -108,7 +109,7 @@ MODEL:
108109
DOWNSAMPLE: 2
109110

110111
FUSER:
111-
NAME: 'ConvFuser'
112+
NAME: ConvFuser
112113
IN_CHANNEL: 336
113114
OUT_CHANNEL: 256
114115

@@ -119,7 +120,7 @@ MODEL:
119120
NUM_FILTERS: [128, 256]
120121
UPSAMPLE_STRIDES: [1, 2]
121122
NUM_UPSAMPLE_FILTERS: [256, 256]
122-
USE_CONV_FOR_NO_STRIDE: true
123+
USE_CONV_FOR_NO_STRIDE: True
123124

124125

125126
DENSE_HEAD:
@@ -167,7 +168,7 @@ MODEL:
167168
'code_weights': [1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 0.2, 0.2]
168169
}
169170
LOSS_CLS:
170-
use_sigmoid: true
171+
use_sigmoid: True
171172
gamma: 2.0
172173
alpha: 0.25
173174

tools/cfgs/nuscenes_models/cbgs_transfusion_lidar.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ MODEL:
127127
'code_weights': [1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 0.2, 0.2]
128128
}
129129
LOSS_CLS:
130-
use_sigmoid: true
130+
use_sigmoid: True
131131
gamma: 2.0
132132
alpha: 0.25
133133

0 commit comments

Comments
 (0)