Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix the bug about loading npy or bin #1077

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

iloveai8086
Copy link

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

@jihanyang
Copy link
Collaborator

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

@iloveai8086
Copy link
Author

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.

@OpenMMLab-Assistant-007

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❤

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants