Skip to content

Commit

Permalink
Update point.py
Browse files Browse the repository at this point in the history
  • Loading branch information
drprojects authored Apr 12, 2024
1 parent 6703ce8 commit 9c17b1d
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/transforms/point.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,12 @@ def _process(self, data):

# C++ geometric features computation on CPU
if self.k_step < 0:
f = pgeof.compute_features(xyz, nn, nn_ptr, self.k_min, verbose=False)
f = pgeof.compute_features(
xyz,
nn,
nn_ptr,
self.k_min,
verbose=False)
else:
f = pgeof.compute_features_optimal(
xyz,
Expand All @@ -175,8 +180,7 @@ def _process(self, data):
self.k_min,
self.k_step,
self.k_min_search,
verbose=False,
)
verbose=False)
f = torch.from_numpy(f)

# Keep only required features
Expand Down

0 comments on commit 9c17b1d

Please sign in to comment.