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
80173750
"lib/bindings/python/Cargo.toml" did not exist on "c9130f8f8ce264379131e9ee2973534fe4cbf713"
Commit
80173750
authored
Jul 03, 2022
by
Shaoshuai Shi
Browse files
bugfixed: remove data_dict.pop('calib') to support lidar+image in kitti
parent
16f9c032
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
33 deletions
+33
-33
pcdet/datasets/augmentor/data_augmentor.py
pcdet/datasets/augmentor/data_augmentor.py
+33
-33
No files found.
pcdet/datasets/augmentor/data_augmentor.py
View file @
80173750
...
@@ -245,8 +245,8 @@ class DataAugmentor(object):
...
@@ -245,8 +245,8 @@ class DataAugmentor(object):
data_dict
[
'gt_boxes'
][:,
6
]
=
common_utils
.
limit_period
(
data_dict
[
'gt_boxes'
][:,
6
]
=
common_utils
.
limit_period
(
data_dict
[
'gt_boxes'
][:,
6
],
offset
=
0.5
,
period
=
2
*
np
.
pi
data_dict
[
'gt_boxes'
][:,
6
],
offset
=
0.5
,
period
=
2
*
np
.
pi
)
)
if
'calib'
in
data_dict
:
#
if 'calib' in data_dict:
data_dict
.
pop
(
'calib'
)
#
data_dict.pop('calib')
if
'road_plane'
in
data_dict
:
if
'road_plane'
in
data_dict
:
data_dict
.
pop
(
'road_plane'
)
data_dict
.
pop
(
'road_plane'
)
if
'gt_boxes_mask'
in
data_dict
:
if
'gt_boxes_mask'
in
data_dict
:
...
...
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