Skip to content

Commit

Permalink
Only checking isnan for xyz layers.
Browse files Browse the repository at this point in the history
  • Loading branch information
mktk1117 committed Sep 2, 2024
1 parent c6f1f32 commit 494ab5f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ def input_pointcloud(
"""
raw_points = cp.asarray(raw_points, dtype=self.data_type)
additional_channels = channels[3:]
raw_points = raw_points[~cp.isnan(raw_points).any(axis=1)]
raw_points = raw_points[~cp.isnan(raw_points[:, :3]).any(axis=1)]
self.update_map_with_kernel(
raw_points,
additional_channels,
Expand Down

0 comments on commit 494ab5f

Please sign in to comment.