Hi @jhultman,thanks for sharing your implementation.
According to the original paper, the grid points are uniformly sampled within a proposal, I think "uniformly" here means evenly distributed in every dimension( from figure4 we can see the red grid points are not randomly sampled), and the name "grid" itself may also claim this point.
I think "uniformly" here is different from "uniform distribution" given by torch.rand
|
(torch.rand((b, n, m, 3), device=boxes.device) - 0.5) |
Hi @jhultman,thanks for sharing your implementation.
According to the original paper, the grid points are uniformly sampled within a proposal, I think "uniformly" here means evenly distributed in every dimension( from figure4 we can see the red grid points are not randomly sampled), and the name "grid" itself may also claim this point.
I think "uniformly" here is different from "uniform distribution" given by torch.rand
vision3d/pvrcnn/detector/roi_grid_pool.py
Line 59 in 0789508