jhultman / vision3d

Research platform for 3D object detection in PyTorch.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Should grid point randomly sampled or evenly distributed

turboxin opened this issue · comments

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 @turboxin, yes I think you are right -- I will fix this. Thanks!