OpenPCDet icon indicating copy to clipboard operation
OpenPCDet copied to clipboard

fix the bug about loading npy or bin

Open iloveai8086 opened this issue 3 years ago • 3 comments

Thank you for your support of custom datasets.When i was making the dataset with "python -m pcdet.datasets.custom.custom_dataset create_custom_infos tools/cfgs/dataset_configs/custom_dataset.yaml" it told me that: torch.from_numpy(points[:, 0:3]), torch.from_numpy(gt_boxes) IndexError: too many indices for array: array is 1-dimensional, but 2 were indexed And i found the function "get_lidar()" in custom_dataset.py was different from kitti_dataset.py. I think the data should be reshaped

iloveai8086 avatar Aug 26 '22 12:08 iloveai8086

We suppose the point clouds are saved in N*C as waymo, since different dataset may have different number of channels.

jihanyang avatar Aug 28 '22 04:08 jihanyang

We suppose the point clouds are saved in N*C as waymo, since different dataset may have different number of channels.

Thank you,I think it would be better for you to add a annotation here.

iloveai8086 avatar Sep 06 '22 01:09 iloveai8086

Hi @iloveai8086 We are grateful for your efforts in helping improve this open-source project during your personal time. Welcome to join OpenMMLab Special Interest Group (SIG) private channel on Discord, where you can share your experiences, ideas, and build connections with like-minded peers. To join the SIG channel, simply message moderator— OpenMMLab on Discord or briefly share your open-source contributions in the #introductions channel and we will assist you. Look forward to seeing you there! Join us :https://discord.gg/UjgXkPWNqA If you have a WeChat account,welcome to join our community on WeChat. You can add our assistant :openmmlabwx. Please add "mmsig + Github ID" as a remark when adding friends:) Thank you again for your contribution❤

OpenMMLab-Assistant-007 avatar Apr 13 '23 07:04 OpenMMLab-Assistant-007