Skip to content

Commit

Permalink
docs(roiware_utils): Change comments for my own clarification
Browse files Browse the repository at this point in the history
Changed the comments a bit while implementing `scale_local` and
`delete_labels_by_min_points` for my own clarification.

It might make sense to rework some of those functions in their entirety
since they use deprecated functions.
  • Loading branch information
TomSchammo committed Jan 4, 2024
1 parent a7d5d08 commit b22de97
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions LidarAug/cpp/include/roiware_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,10 @@ inline int check_pt_in_box3d_cpu(const float *pt, const float *box3d,

inline int points_in_boxes_cpu(at::Tensor boxes_tensor, at::Tensor pts_tensor,
at::Tensor pts_indices_tensor) {
// params boxes: (N, 7) [x, y, z, dx, dy, dz, heading], (x, y, z) is the box
// center, each box DO NOT overlaps params pts: (num_points, 3) [x, y, z]
// params pts_indices: (N, num_points)
// params boxes: (num_boxes, 7) [x, y, z, dx, dy, dz, heading], (x, y, z) is
// the box center, each box DO NOT overlaps
// params pts: (num_points, 3) [x, y, z]
// params pts_indices: (num_boxes, num_points)

// CHECK_CONTIGUOUS(boxes_tensor);
// CHECK_CONTIGUOUS(pts_tensor);
Expand Down

0 comments on commit b22de97

Please sign in to comment.