Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
OpenPCDet
Commits
7cc9e076
Commit
7cc9e076
authored
May 09, 2023
by
chenshi3
Browse files
Fixed bug in Nuscenes dataset and Update configs
parent
1d2c3f6b
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
7 deletions
+8
-7
pcdet/datasets/nuscenes/nuscenes_dataset.py
pcdet/datasets/nuscenes/nuscenes_dataset.py
+1
-1
tools/cfgs/nuscenes_models/cbgs_bevfusion.yaml
tools/cfgs/nuscenes_models/cbgs_bevfusion.yaml
+6
-5
tools/cfgs/nuscenes_models/cbgs_transfusion_lidar.yaml
tools/cfgs/nuscenes_models/cbgs_transfusion_lidar.yaml
+1
-1
No files found.
pcdet/datasets/nuscenes/nuscenes_dataset.py
View file @
7cc9e076
...
...
@@ -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
(
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'
:
...
...
tools/cfgs/nuscenes_models/cbgs_bevfusion.yaml
View file @
7cc9e076
...
...
@@ -28,7 +28,7 @@ DATA_CONFIG:
-
NAME
:
imgaug
ROT_LIM
:
[
-5.4
,
5.4
]
RAND_FLIP
:
t
rue
RAND_FLIP
:
T
rue
DATA_PROCESSOR
:
-
NAME
:
mask_points_and_boxes_outside_range
...
...
@@ -85,7 +85,8 @@ MODEL:
CONVERT_WEIGHTS
:
True
INIT_CFG
:
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
:
NAME
:
GeneralizedLSSFPN
...
...
@@ -108,7 +109,7 @@ MODEL:
DOWNSAMPLE
:
2
FUSER
:
NAME
:
'
ConvFuser
'
NAME
:
ConvFuser
IN_CHANNEL
:
336
OUT_CHANNEL
:
256
...
...
@@ -119,7 +120,7 @@ MODEL:
NUM_FILTERS
:
[
128
,
256
]
UPSAMPLE_STRIDES
:
[
1
,
2
]
NUM_UPSAMPLE_FILTERS
:
[
256
,
256
]
USE_CONV_FOR_NO_STRIDE
:
t
rue
USE_CONV_FOR_NO_STRIDE
:
T
rue
DENSE_HEAD
:
...
...
@@ -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
]
}
LOSS_CLS
:
use_sigmoid
:
t
rue
use_sigmoid
:
T
rue
gamma
:
2.0
alpha
:
0.25
...
...
tools/cfgs/nuscenes_models/cbgs_transfusion_lidar.yaml
View file @
7cc9e076
...
...
@@ -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
]
}
LOSS_CLS
:
use_sigmoid
:
t
rue
use_sigmoid
:
T
rue
gamma
:
2.0
alpha
:
0.25
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment