Commit 5b8f3900 authored by liyinhao's avatar liyinhao
Browse files

change format

parent aeb342b7
......@@ -19,8 +19,8 @@ class IndoorPointsColorNormalize(object):
def __call__(self, results):
points = results['points']
assert points.shape[
1] >= 6, f'Expect points have channel >=6, got {points.shape[1]}'
assert points.shape[1] >= 6,\
f'Expect points have channel >=6, got {points.shape[1]}'
points[:, 3:6] = points[:, 3:6] - np.array(self.color_mean) / 256.0
results['points'] = points
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