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
0d5a5d77
Commit
0d5a5d77
authored
Mar 02, 2022
by
Xiao Chen
Committed by
ZwwWayne
Mar 03, 2022
Browse files
Fix an index bug in the class BasePoints (#1274)
parent
c2fbf216
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
mmdet3d/core/points/base_points.py
mmdet3d/core/points/base_points.py
+1
-1
No files found.
mmdet3d/core/points/base_points.py
View file @
0d5a5d77
...
@@ -242,7 +242,7 @@ class BasePoints(object):
...
@@ -242,7 +242,7 @@ class BasePoints(object):
"""
"""
in_range_flags
=
((
self
.
bev
[:,
0
]
>
point_range
[
0
])
in_range_flags
=
((
self
.
bev
[:,
0
]
>
point_range
[
0
])
&
(
self
.
bev
[:,
1
]
>
point_range
[
1
])
&
(
self
.
bev
[:,
1
]
>
point_range
[
1
])
&
(
self
.
bev
[:,
1
]
<
point_range
[
2
])
&
(
self
.
bev
[:,
0
]
<
point_range
[
2
])
&
(
self
.
bev
[:,
1
]
<
point_range
[
3
]))
&
(
self
.
bev
[:,
1
]
<
point_range
[
3
]))
return
in_range_flags
return
in_range_flags
...
...
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