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
60e019e3
Commit
60e019e3
authored
Aug 23, 2022
by
Shaoshuai Shi
Browse files
small bug in waymo_eval.py
parent
25d9f503
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
pcdet/datasets/waymo/waymo_eval.py
pcdet/datasets/waymo/waymo_eval.py
+1
-1
No files found.
pcdet/datasets/waymo/waymo_eval.py
View file @
60e019e3
...
@@ -71,7 +71,7 @@ class OpenPCDetWaymoDetectionMetricsEstimator(tf.test.TestCase):
...
@@ -71,7 +71,7 @@ class OpenPCDetWaymoDetectionMetricsEstimator(tf.test.TestCase):
boxes3d
.
append
(
np
.
array
(
info
[
'boxes_lidar'
]))
boxes3d
.
append
(
np
.
array
(
info
[
'boxes_lidar'
]))
box_name
=
info
[
'name'
]
box_name
=
info
[
'name'
]
if
boxes3d
[
-
1
].
shape
[
-
1
]
==
9
:
if
boxes3d
[
-
1
].
shape
[
-
1
]
==
9
:
boxes3d
[
-
1
]
=
boxes3d
[
-
1
][
"
, 0:7
"
]
boxes3d
[
-
1
]
=
boxes3d
[
-
1
][
:
,
0
:
7
]
obj_type
+=
[
self
.
WAYMO_CLASSES
.
index
(
name
)
for
i
,
name
in
enumerate
(
box_name
)]
obj_type
+=
[
self
.
WAYMO_CLASSES
.
index
(
name
)
for
i
,
name
in
enumerate
(
box_name
)]
frame_id
.
append
(
np
.
array
([
frame_index
]
*
num_boxes
))
frame_id
.
append
(
np
.
array
([
frame_index
]
*
num_boxes
))
...
...
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