You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use your code with KITTI object detection dataset.
Generate depth map by projecting the Lidar points to image plane
Put image_2 and generated depth map to test_depth_completion_anonymous folder
Run with test_completion mode
However, I got the following error
Traceback (most recent call last):
File "main.py", line 248, in <module>
main()
File "main.py", line 231, in main
result, is_best = iterate("test_completion", args, val_loader, model, None, logger, checkpoint['epoch'])
File "main.py", line 105, in iterate
pred = model(batch_data)
File "/data/ssd/public/jlliu/pythonlib/lib/python2.7/site-packages/torch/nn/modules/module.py", line 489, in __call__
result = self.forward(*input, **kwargs)
File "/data/ssd/public/jlliu/pythonlib/lib/python2.7/site-packages/torch/nn/parallel/data_parallel.py", line 141, in forward
return self.module(*inputs[0], **kwargs[0])
File "/data/ssd/public/jlliu/pythonlib/lib/python2.7/site-packages/torch/nn/modules/module.py", line 489, in __call__
result = self.forward(*input, **kwargs)
File "/data/ssd/public/jlliu/depth_completion/self-supervised-depth-completion/model.py", line 126, in forward
y = torch.cat((convt5, conv5), 1)
RuntimeError: invalid argument 0: Sizes of tensors must match except in dimension 1. Got 47 and 48 in dimension 2 at /pytorch/aten/src/THC/generic/THCTensorMath.cu:83
Did I miss something?
The text was updated successfully, but these errors were encountered:
I am trying to use your code with KITTI object detection dataset.
test_depth_completion_anonymous
folderHowever, I got the following error
Did I miss something?
The text was updated successfully, but these errors were encountered: