pangsu0613 / CLOCs

CLOCs: Camera-LiDAR Object Candidates Fusion for 3D Object Detection
MIT License
346 stars 68 forks source link

Empty cyclist tensor #83

Open MakerFace opened 1 year ago

MakerFace commented 1 year ago

Trying to resize storage that is not resizable at /opt/conda/conda-bld/pytorch_1550802451070/work/aten/src/TH/THStorageFunctions.cpp:70 File "/home/chen/CLOCs/second/pytorch/train.py", line 51, in example_convert_to_torch v, dtype=torch.float32, device=device).to(dtype) File "/home/chen/CLOCs/second/pytorch/train.py", line 420, in train raise e File "/home/chen/CLOCs/second/pytorch/train.py", line 420, in train raise e File "/home/chen/CLOCs/second/pytorch/train.py", line 981, in fire.Fire()

image

The tensor v is empty, how to solve it?

MakerFace commented 1 year ago

Trying to resize storage that is not resizable at /opt/conda/conda-bld/pytorch_1550802451070/work/aten/src/TH/THStorageFunctions.cpp:70 File "/home/chen/CLOCs/second/pytorch/train.py", line 51, in example_convert_to_torch v, dtype=torch.float32, device=device).to(dtype) File "/home/chen/CLOCs/second/pytorch/train.py", line 420, in train raise e File "/home/chen/CLOCs/second/pytorch/train.py", line 420, in train raise e File "/home/chen/CLOCs/second/pytorch/train.py", line 981, in fire.Fire()

image

The tensor v is empty, how to solve it?

the gt_2d_boxes of cyclist is null, should I full zero or negative value to it? or just skip it?