Closed kimwao closed 1 month ago
这个有啥影响吗?
I don't think this should be changed. padded_grads_abs
is used to compute selected_pts_mask_abs
, which is another set of points threshold by 3D scaling and 2D scaling to complement selected_pts_mask
(See torch.logical_or
in L445). And the logic is that there should be no intersections between selected_pts_mask_abs
and selected_pts_mask_abs
.
I don't think this should be changed.
padded_grads_abs
is used to computeselected_pts_mask_abs
, which is another set of points threshold by 3D scaling and 2D scaling to complementselected_pts_mask
(Seetorch.logical_or
in L445). And the logic is that there should be no intersections betweenselected_pts_mask_abs
andselected_pts_mask_abs
.
Yes, you're right! Thank you
padded_grads_abs[selected_pts_mask] = 0 should be changed to padded_grads_abs[~selected_pts_mask] = 0.