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
1a2f72a2
Unverified
Commit
1a2f72a2
authored
Sep 14, 2022
by
VVsssssk
Committed by
GitHub
Sep 14, 2022
Browse files
[Fix] Fix inference detector (#1836)
* add deploy.yaml * fix inference
parent
d0bb1847
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
mmdet3d/apis/inference.py
mmdet3d/apis/inference.py
+2
-0
No files found.
mmdet3d/apis/inference.py
View file @
1a2f72a2
...
...
@@ -143,6 +143,7 @@ def inference_detector(model: nn.Module,
# load from point cloud file
data_
=
dict
(
lidar_points
=
dict
(
lidar_path
=
pcd
),
timestamp
=
1
,
# for ScanNet demo we need axis_align_matrix
axis_align_matrix
=
np
.
eye
(
4
),
box_type_3d
=
box_type_3d
,
...
...
@@ -151,6 +152,7 @@ def inference_detector(model: nn.Module,
# directly use loaded point cloud
data_
=
dict
(
points
=
pcd
,
timestamp
=
1
,
# for ScanNet demo we need axis_align_matrix
axis_align_matrix
=
np
.
eye
(
4
),
box_type_3d
=
box_type_3d
,
...
...
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