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

ValueError: cannot reshape array of size 265728 into shape (5) #2

Closed
BiaoBiaoLi opened this issue Jul 22, 2022 · 2 comments
Closed

Comments

@BiaoBiaoLi
Copy link

Thanks your work! when Download Lyft dataset and convert it to KITTI format, i meet this problem:
File "/home/biaoli/anaconda3/envs/hindsight/lib/python3.8/site-packages/lyft_dataset_sdk/utils/data_classes.py", line 283, in from_file
points = scan.reshape((-1, 5))[:, : cls.nbr_dims()]
ValueError: cannot reshape array of size 265728 into shape (5)
24%|█████████▏ | 5471/22680 [03:31<11:04, 25.90it/s]
is this a properly solution ?
lyft/nuscenes-devkit#89
thanks you !

@YurongYou
Copy link
Owner

Hi BiaoBiaoLi! Thanks for your interest!
It seems I did not encounter this issue, but the solution you post should be proper (also see https://www.kaggle.com/c/3d-object-detection-for-autonomous-vehicles/discussion/110000).

@YurongYou
Copy link
Owner

I double-checked the data I used, and I found did patch the bin file before but forgot to include this step in the doc. Thanks for reporting it and I just updated the doc :)

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

No branches or pull requests

2 participants