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
79a8299c
"...mmpose-rtmo_pytorch.git" did not exist on "ca8a762a7fd9b5e2641add9254e43b4ef0b44526"
Unverified
Commit
79a8299c
authored
Sep 19, 2020
by
Yuefeng Wu
Committed by
GitHub
Sep 19, 2020
Browse files
[fix]: fix demo results bug caused by batch inference support (#116)
parent
13124304
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
mmdet3d/apis/inference.py
mmdet3d/apis/inference.py
+1
-1
No files found.
mmdet3d/apis/inference.py
View file @
79a8299c
...
...
@@ -99,7 +99,7 @@ def show_result_meshlab(data, result, out_dir):
assert
out_dir
is
not
None
,
'Expect out_dir, got none.'
pred_bboxes
=
result
[
'boxes_3d'
].
tensor
.
numpy
()
pred_bboxes
=
result
[
0
][
'boxes_3d'
].
tensor
.
numpy
()
# for now we convert points into depth mode
if
data
[
'img_metas'
][
0
][
0
][
'box_mode_3d'
]
!=
Box3DMode
.
DEPTH
:
points
=
points
[...,
[
1
,
0
,
2
]]
...
...
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