shangjie-li / pointpillars

Implementation of PointPillars in PyTorch for KITTI 3D Object Detetcion
4 stars 3 forks source link

Question regarding input and output tensors of Pointpillars #4

Open aatefi2 opened 7 months ago

aatefi2 commented 7 months ago

Hi shangjie-li,

I hope you are doing well. Thank you for all of your help since every time I can not find the exact answer from searching on different webpages, you give me very useful suggestions.

My questions:

1) If I just have pointcloud data (without 2D images and calibration files), I am wondering what is the input and output tensors (data type, shape, name, ...) of Pointpillars for test dataset (test.py and demo.py)? Is it possible to print them from the provided codes on your Github?

2) I found the information below:

Please let me know whether this information that I found is valid or not.

Thank you, Abbas

shangjie-li commented 7 months ago

I am very happy to know that my advices can help you. I am usually busy with work, but I will try my best to answer your questions.

The implementation of this code is basically the same as the original Pointpillar paper, but there are some differences in the details. If you want to get a deeper understanding of how the network works and how the dimensions of the tensors change at each step, I suggest you read the code in the layers directory in detail. In addition, pointpillar.py organizes the modules in the layers together to form a completed inference process. I find this process difficult to convey in short words. And, from what I understand, the process of tensor dimensional transformation is the most important part of network inference.

For a tensor a, if you want to see its information, you can add some debug code to the source code. For example, print(a.shape) is used to see the dimensional size of the tensor, and print(a.dtype) is used to see the data type of the tensor.

aatefi2 commented 7 months ago

Hi shangjie-li,

Thank you for your useful suggestions.