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
3e2adb5d
Unverified
Commit
3e2adb5d
authored
Apr 30, 2021
by
Vitalii Kudinov
Committed by
GitHub
Apr 30, 2021
Browse files
Fix for SUN RGB-D, when creating .pkl files (#511)
parent
59164170
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tools/data_converter/sunrgbd_data_utils.py
tools/data_converter/sunrgbd_data_utils.py
+1
-1
No files found.
tools/data_converter/sunrgbd_data_utils.py
View file @
3e2adb5d
...
@@ -113,7 +113,7 @@ class SUNRGBDData(object):
...
@@ -113,7 +113,7 @@ class SUNRGBDData(object):
Rt
=
np
.
array
([
float
(
x
)
for
x
in
lines
[
0
].
split
(
' '
)])
Rt
=
np
.
array
([
float
(
x
)
for
x
in
lines
[
0
].
split
(
' '
)])
Rt
=
np
.
reshape
(
Rt
,
(
3
,
3
),
order
=
'F'
).
astype
(
np
.
float32
)
Rt
=
np
.
reshape
(
Rt
,
(
3
,
3
),
order
=
'F'
).
astype
(
np
.
float32
)
K
=
np
.
array
([
float
(
x
)
for
x
in
lines
[
1
].
split
(
' '
)])
K
=
np
.
array
([
float
(
x
)
for
x
in
lines
[
1
].
split
(
' '
)])
K
=
np
.
reshape
(
Rt
,
(
3
,
3
),
order
=
'F'
).
astype
(
np
.
float32
)
K
=
np
.
reshape
(
K
,
(
3
,
3
),
order
=
'F'
).
astype
(
np
.
float32
)
return
K
,
Rt
return
K
,
Rt
def
get_label_objects
(
self
,
idx
):
def
get_label_objects
(
self
,
idx
):
...
...
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