Commit 7cc9e076 authored by chenshi3's avatar chenshi3
Browse files

Fixed bug in Nuscenes dataset and Update configs

parent 1d2c3f6b
...@@ -381,7 +381,7 @@ def create_nuscenes_info(version, data_path, save_path, max_sweeps=10, with_cam= ...@@ -381,7 +381,7 @@ def create_nuscenes_info(version, data_path, save_path, max_sweeps=10, with_cam=
train_nusc_infos, val_nusc_infos = nuscenes_utils.fill_trainval_infos( train_nusc_infos, val_nusc_infos = nuscenes_utils.fill_trainval_infos(
data_path=data_path, nusc=nusc, train_scenes=train_scenes, val_scenes=val_scenes, data_path=data_path, nusc=nusc, train_scenes=train_scenes, val_scenes=val_scenes,
test='test' in version, max_sweeps=max_sweeps test='test' in version, max_sweeps=max_sweeps, with_cam=with_cam
) )
if version == 'v1.0-test': if version == 'v1.0-test':
......
...@@ -28,7 +28,7 @@ DATA_CONFIG: ...@@ -28,7 +28,7 @@ DATA_CONFIG:
- NAME: imgaug - NAME: imgaug
ROT_LIM: [-5.4, 5.4] ROT_LIM: [-5.4, 5.4]
RAND_FLIP: true RAND_FLIP: True
DATA_PROCESSOR: DATA_PROCESSOR:
- NAME: mask_points_and_boxes_outside_range - NAME: mask_points_and_boxes_outside_range
...@@ -85,7 +85,8 @@ MODEL: ...@@ -85,7 +85,8 @@ MODEL:
CONVERT_WEIGHTS: True CONVERT_WEIGHTS: True
INIT_CFG: INIT_CFG:
type: Pretrained type: Pretrained
checkpoint: swint-nuimages-pretrained.pth # checkpoint: swint-nuimages-pretrained.pth
checkpoint: /slurm_data/shichen/package/tomopc_cu111/OpenPCDet/tmp/pretrained/swint-nuimages-pretrained.pth
NECK: NECK:
NAME: GeneralizedLSSFPN NAME: GeneralizedLSSFPN
...@@ -108,7 +109,7 @@ MODEL: ...@@ -108,7 +109,7 @@ MODEL:
DOWNSAMPLE: 2 DOWNSAMPLE: 2
FUSER: FUSER:
NAME: 'ConvFuser' NAME: ConvFuser
IN_CHANNEL: 336 IN_CHANNEL: 336
OUT_CHANNEL: 256 OUT_CHANNEL: 256
...@@ -119,7 +120,7 @@ MODEL: ...@@ -119,7 +120,7 @@ MODEL:
NUM_FILTERS: [128, 256] NUM_FILTERS: [128, 256]
UPSAMPLE_STRIDES: [1, 2] UPSAMPLE_STRIDES: [1, 2]
NUM_UPSAMPLE_FILTERS: [256, 256] NUM_UPSAMPLE_FILTERS: [256, 256]
USE_CONV_FOR_NO_STRIDE: true USE_CONV_FOR_NO_STRIDE: True
DENSE_HEAD: DENSE_HEAD:
...@@ -167,7 +168,7 @@ MODEL: ...@@ -167,7 +168,7 @@ MODEL:
'code_weights': [1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 0.2, 0.2] 'code_weights': [1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 0.2, 0.2]
} }
LOSS_CLS: LOSS_CLS:
use_sigmoid: true use_sigmoid: True
gamma: 2.0 gamma: 2.0
alpha: 0.25 alpha: 0.25
......
...@@ -127,7 +127,7 @@ MODEL: ...@@ -127,7 +127,7 @@ MODEL:
'code_weights': [1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 0.2, 0.2] 'code_weights': [1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 0.2, 0.2]
} }
LOSS_CLS: LOSS_CLS:
use_sigmoid: true use_sigmoid: True
gamma: 2.0 gamma: 2.0
alpha: 0.25 alpha: 0.25
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment