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
449ecb0e
Unverified
Commit
449ecb0e
authored
Dec 07, 2022
by
Xiangxu-0103
Committed by
GitHub
Dec 07, 2022
Browse files
[Fix]: Fix label save of waymo dataset (#2096)
parent
258ab141
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
tools/dataset_converters/waymo_converter.py
tools/dataset_converters/waymo_converter.py
+4
-4
No files found.
tools/dataset_converters/waymo_converter.py
View file @
449ecb0e
...
...
@@ -313,10 +313,10 @@ class Waymo2KITTI(object):
bounding_box
=
None
name
=
None
id
=
obj
.
id
for
lidar
in
self
.
lidar
_list
:
if
id
+
lidar
in
id_to_bbox
:
bounding_box
=
id_to_bbox
.
get
(
id
+
lidar
)
name
=
str
(
id_to_name
.
get
(
id
+
lidar
))
for
proj_cam
in
self
.
cam
_list
:
if
id
+
proj_cam
in
id_to_bbox
:
bounding_box
=
id_to_bbox
.
get
(
id
+
proj_cam
)
name
=
str
(
id_to_name
.
get
(
id
+
proj_cam
))
break
# NOTE: the 2D labels do not have strict correspondence with
...
...
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