Wuhen- Li
Wuhen- Li
voxel_pooling? final[geom_feats[:, 3], :, geom_feats[:, 2], geom_feats[:, 0], geom_feats[:, 1]] = x
final = torch.zeros((B, C, self.nx[2], self.nx[0], self.nx[1]), device=x.device) final[geom_feats[:, 3], :, geom_feats[:, 2], geom_feats[:, 0], geom_feats[:, 1]] = x please!,why the value of final is zero? I'm confused by this...
Thanks for your contribution and we appreciate it a lot. The following instructions would make your pull request more healthy and more easily get feedback. If you do not understand...
def get_center_and_offset_bev(self, lrtlist_cam, seg_bev): ...... ...... offset = torch.stack([offset[:,0], offset[:,2]], dim=1) min_offset = torch.min(offset, dim=3)[0] max_offset = torch.max(offset, dim=3)[0] offset = min_offset + max_offset The meaning expressed by the sum...