"examples/vscode:/vscode.git/clone" did not exist on "31a7d50964ae1c9d5693661567e7a3e034383bd7"
Commit 5b8f3900 authored by liyinhao's avatar liyinhao
Browse files

change format

parent aeb342b7
...@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment