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
f5a5103a
Unverified
Commit
f5a5103a
authored
May 10, 2021
by
xiliu8006
Committed by
GitHub
May 10, 2021
Browse files
[Fixed] Fix 3DSSD AOS low scores (#516)
* fix error direction * fix aos bug in get_bboxes
parent
70548782
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
mmdet3d/models/dense_heads/ssd_3d_head.py
mmdet3d/models/dense_heads/ssd_3d_head.py
+4
-0
No files found.
mmdet3d/models/dense_heads/ssd_3d_head.py
View file @
f5a5103a
import
numpy
as
np
import
torch
import
torch
from
mmcv.ops.nms
import
batched_nms
from
mmcv.ops.nms
import
batched_nms
from
mmcv.runner
import
force_fp32
from
mmcv.runner
import
force_fp32
...
@@ -460,6 +461,9 @@ class SSD3DHead(VoteHead):
...
@@ -460,6 +461,9 @@ class SSD3DHead(VoteHead):
bbox_selected
,
score_selected
,
labels
=
self
.
multiclass_nms_single
(
bbox_selected
,
score_selected
,
labels
=
self
.
multiclass_nms_single
(
obj_scores
[
b
],
sem_scores
[
b
],
bbox3d
[
b
],
points
[
b
,
...,
:
3
],
obj_scores
[
b
],
sem_scores
[
b
],
bbox3d
[
b
],
points
[
b
,
...,
:
3
],
input_metas
[
b
])
input_metas
[
b
])
# fix the wrong direction
# To do: remove this ops
bbox_selected
[...,
6
]
+=
np
.
pi
bbox
=
input_metas
[
b
][
'box_type_3d'
](
bbox
=
input_metas
[
b
][
'box_type_3d'
](
bbox_selected
.
clone
(),
bbox_selected
.
clone
(),
box_dim
=
bbox_selected
.
shape
[
-
1
],
box_dim
=
bbox_selected
.
shape
[
-
1
],
...
...
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