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
5b8f3900
"examples/vscode:/vscode.git/clone" did not exist on "31a7d50964ae1c9d5693661567e7a3e034383bd7"
Commit
5b8f3900
authored
May 09, 2020
by
liyinhao
Browse files
change format
parent
aeb342b7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
mmdet3d/datasets/pipelines/indoor_loading.py
mmdet3d/datasets/pipelines/indoor_loading.py
+2
-2
No files found.
mmdet3d/datasets/pipelines/indoor_loading.py
View file @
5b8f3900
...
@@ -19,8 +19,8 @@ class IndoorPointsColorNormalize(object):
...
@@ -19,8 +19,8 @@ class IndoorPointsColorNormalize(object):
def
__call__
(
self
,
results
):
def
__call__
(
self
,
results
):
points
=
results
[
'points'
]
points
=
results
[
'points'
]
assert
points
.
shape
[
assert
points
.
shape
[
1
]
>=
6
,
\
1
]
>=
6
,
f
'Expect points have channel >=6, got
{
points
.
shape
[
1
]
}
'
f
'Expect points have channel >=6, got
{
points
.
shape
[
1
]
}
'
points
[:,
3
:
6
]
=
points
[:,
3
:
6
]
-
np
.
array
(
self
.
color_mean
)
/
256.0
points
[:,
3
:
6
]
=
points
[:,
3
:
6
]
-
np
.
array
(
self
.
color_mean
)
/
256.0
results
[
'points'
]
=
points
results
[
'points'
]
=
points
return
results
return
results
...
...
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