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
f61c515b
Commit
f61c515b
authored
Jun 07, 2020
by
yinchimaoliang
Browse files
fix l to length
parent
f2ae5e94
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
data/sunrgbd/sunrgbd_data.py
data/sunrgbd/sunrgbd_data.py
+1
-1
No files found.
data/sunrgbd/sunrgbd_data.py
View file @
f61c515b
...
@@ -148,7 +148,7 @@ def extract_sunrgbd_data(idx_filename,
...
@@ -148,7 +148,7 @@ def extract_sunrgbd_data(idx_filename,
continue
continue
obb
=
np
.
zeros
((
8
))
obb
=
np
.
zeros
((
8
))
obb
[
0
:
3
]
=
obj
.
centroid
obb
[
0
:
3
]
=
obj
.
centroid
obb
[
3
:
6
]
=
np
.
array
([
obj
.
l
,
obj
.
w
,
obj
.
h
])
obb
[
3
:
6
]
=
np
.
array
([
obj
.
l
ength
,
obj
.
w
idth
,
obj
.
h
eight
])
obb
[
6
]
=
obj
.
heading_angle
obb
[
6
]
=
obj
.
heading_angle
obb
[
7
]
=
sunrgbd_utils
.
type2class
[
obj
.
classname
]
obb
[
7
]
=
sunrgbd_utils
.
type2class
[
obj
.
classname
]
object_list
.
append
(
obb
)
object_list
.
append
(
obb
)
...
...
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