batch_size = coors[-1, 0].item() + 1 IndexError: index -1 is out of bounds for dimension 0 with size 0 pointpillars
Checklist
- [X] I have searched for similar issues.
- [X] I have tested with the latest development wheel.
- [X] I have checked the release documentation and the latest documentation (for
masterbranch).
My Question
points: [tensor([[-54.6733, -35.9321, 65.5350, 0.5000],
[-54.5223, -35.9321, 65.5350, 0.5000],
[-54.3713, -35.9321, 65.5350, 0.5000],
...,
[ 3.0787, 1.8103, 3.2590, 0.5000],
[ 3.0786, 1.8058, 3.2510, 0.5000],
[ 3.0785, 1.8014, 3.2430, 0.5000]], device='cuda:0')]
voxels: tensor([], device='cuda:0', size=(0, 32, 4))
numpts: tensor([], device='cuda:0', dtype=torch.int64)
coors: tensor([], device='cuda:0', size=(0, 4), dtype=torch.int32)
50%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████ | 1/2 [00:01<00:01, 1.05s/it]
Traceback (most recent call last):
File "detection_torch.py", line 138, in
Struggling to get this working with my own pcd file data (RealSense D455) I tried changing the voxel range but that didn't work either. I can't seem to get voxel or coors results.
Seems to work with other example pcd data.