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
mmdetection3d
Commits
aecc7a17
Unverified
Commit
aecc7a17
authored
Feb 08, 2023
by
ZLTJohn
Committed by
GitHub
Feb 08, 2023
Browse files
[Fix] fix detr3d 'custom_import' error (#2260)
* fix 'custom_imports' in config files * fix lint
parent
377597b6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
3 deletions
+15
-3
projects/DETR3D/configs/detr3d_r101_gridmask.py
projects/DETR3D/configs/detr3d_r101_gridmask.py
+1
-1
projects/DETR3D/configs/detr3d_r101_gridmask_cbgs.py
projects/DETR3D/configs/detr3d_r101_gridmask_cbgs.py
+1
-1
projects/DETR3D/configs/detr3d_vovnet_gridmask_trainval_cbgs.py
...ts/DETR3D/configs/detr3d_vovnet_gridmask_trainval_cbgs.py
+13
-1
No files found.
projects/DETR3D/configs/detr3d_r101_gridmask.py
View file @
aecc7a17
...
@@ -3,7 +3,7 @@ _base_ = [
...
@@ -3,7 +3,7 @@ _base_ = [
'mmdet3d::_base_/default_runtime.py'
'mmdet3d::_base_/default_runtime.py'
]
]
custom_imports
=
dict
(
imports
=
[
'projects.
detr3d
.detr3d'
])
custom_imports
=
dict
(
imports
=
[
'projects.
DETR3D
.detr3d'
])
# If point cloud range is changed, the models should also change their point
# If point cloud range is changed, the models should also change their point
# cloud range accordingly
# cloud range accordingly
point_cloud_range
=
[
-
51.2
,
-
51.2
,
-
5.0
,
51.2
,
51.2
,
3.0
]
point_cloud_range
=
[
-
51.2
,
-
51.2
,
-
5.0
,
51.2
,
51.2
,
3.0
]
...
...
projects/DETR3D/configs/detr3d_r101_gridmask_cbgs.py
View file @
aecc7a17
_base_
=
[
'./detr3d_r101_gridmask.py'
]
_base_
=
[
'./detr3d_r101_gridmask.py'
]
custom_imports
=
dict
(
imports
=
[
'projects.
detr3d
.detr3d'
])
custom_imports
=
dict
(
imports
=
[
'projects.
DETR3D
.detr3d'
])
# If point cloud range is changed, the models should also change their point
# If point cloud range is changed, the models should also change their point
# cloud range accordingly
# cloud range accordingly
point_cloud_range
=
[
-
51.2
,
-
51.2
,
-
5.0
,
51.2
,
51.2
,
3.0
]
point_cloud_range
=
[
-
51.2
,
-
51.2
,
-
5.0
,
51.2
,
51.2
,
3.0
]
...
...
projects/DETR3D/configs/detr3d_vovnet_gridmask_trainval_cbgs.py
View file @
aecc7a17
_base_
=
[
'./detr3d_r101_gridmask_cbgs.py'
]
_base_
=
[
'./detr3d_r101_gridmask_cbgs.py'
]
custom_imports
=
dict
(
imports
=
[
'projects.
detr3d
.detr3d'
])
custom_imports
=
dict
(
imports
=
[
'projects.
DETR3D
.detr3d'
])
img_norm_cfg
=
dict
(
img_norm_cfg
=
dict
(
mean
=
[
103.530
,
116.280
,
123.675
],
mean
=
[
103.530
,
116.280
,
123.675
],
...
@@ -35,5 +35,17 @@ train_dataloader = dict(
...
@@ -35,5 +35,17 @@ train_dataloader = dict(
dataset
=
dict
(
dataset
=
dict
(
type
=
'CBGSDataset'
,
type
=
'CBGSDataset'
,
dataset
=
dict
(
ann_file
=
'nuscenes_infos_trainval.pkl'
)))
dataset
=
dict
(
ann_file
=
'nuscenes_infos_trainval.pkl'
)))
test_dataloader
=
dict
(
dataset
=
dict
(
data_root
=
'data/nuscenes-test'
,
ann_file
=
'nuscenes_infos_test.pkl'
))
test_evaluator
=
dict
(
type
=
'NuScenesMetric'
,
data_root
=
'data/nuscenes-test'
,
jsonfile_prefix
=
'work_dirs/detr3d_vovnet_results_test'
,
format_only
=
True
,
metric
=
[])
load_from
=
'ckpts/dd3d_det_final.pth'
load_from
=
'ckpts/dd3d_det_final.pth'
find_unused_parameters
=
True
find_unused_parameters
=
True
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