CLOCs icon indicating copy to clipboard operation
CLOCs copied to clipboard

Empty cyclist tensor

Open MakerFace opened this issue 3 years ago • 1 comments

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 avatar Mar 16 '23 13:03 MakerFace

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?

MakerFace avatar Mar 16 '23 14:03 MakerFace